diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-16 05:22:28 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-16 05:22:28 +0000 |
commit | 76b67df11e5cdb87e954a0ad7d1cd7fd4a502be1 (patch) | |
tree | f521670520bd3932d90f525e7789e6315238d8a6 /lib/VMCore/Attributes.cpp | |
parent | 847a9c33981d88055bf83c14c341ed3a4db10c85 (diff) | |
download | external_llvm-76b67df11e5cdb87e954a0ad7d1cd7fd4a502be1.zip external_llvm-76b67df11e5cdb87e954a0ad7d1cd7fd4a502be1.tar.gz external_llvm-76b67df11e5cdb87e954a0ad7d1cd7fd4a502be1.tar.bz2 |
Put simple c'tors inline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Attributes.cpp')
-rw-r--r-- | lib/VMCore/Attributes.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/VMCore/Attributes.cpp b/lib/VMCore/Attributes.cpp index cfa276e..f028fd3 100644 --- a/lib/VMCore/Attributes.cpp +++ b/lib/VMCore/Attributes.cpp @@ -28,10 +28,6 @@ using namespace llvm; // Attributes Implementation //===----------------------------------------------------------------------===// -Attributes::Attributes(AttributesImpl *A) : Attrs(A) {} - -Attributes::Attributes(const Attributes &A) : Attrs(A.Attrs) {} - Attributes Attributes::get(LLVMContext &Context, ArrayRef<AttrVal> Vals) { AttrBuilder B; for (ArrayRef<AttrVal>::iterator I = Vals.begin(), E = Vals.end(); @@ -250,8 +246,7 @@ AttrBuilder &AttrBuilder::addStackAlignmentAttr(unsigned Align){ return *this; } -AttrBuilder &AttrBuilder:: -removeAttribute(Attributes::AttrVal Val) { +AttrBuilder &AttrBuilder::removeAttribute(Attributes::AttrVal Val) { Bits &= ~AttributesImpl::getAttrMask(Val); return *this; } |