mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Put simple c'tors inline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166008 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
847a9c3398
commit
76b67df11e
@ -88,10 +88,10 @@ public:
|
|||||||
};
|
};
|
||||||
private:
|
private:
|
||||||
AttributesImpl *Attrs;
|
AttributesImpl *Attrs;
|
||||||
Attributes(AttributesImpl *A);
|
Attributes(AttributesImpl *A) : Attrs(A) {}
|
||||||
public:
|
public:
|
||||||
Attributes() : Attrs(0) {}
|
Attributes() : Attrs(0) {}
|
||||||
Attributes(const Attributes &A);
|
Attributes(const Attributes &A) : Attrs(A.Attrs) {}
|
||||||
Attributes &operator=(const Attributes &A) {
|
Attributes &operator=(const Attributes &A) {
|
||||||
Attrs = A.Attrs;
|
Attrs = A.Attrs;
|
||||||
return *this;
|
return *this;
|
||||||
|
@ -28,10 +28,6 @@ using namespace llvm;
|
|||||||
// Attributes Implementation
|
// Attributes Implementation
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
Attributes::Attributes(AttributesImpl *A) : Attrs(A) {}
|
|
||||||
|
|
||||||
Attributes::Attributes(const Attributes &A) : Attrs(A.Attrs) {}
|
|
||||||
|
|
||||||
Attributes Attributes::get(LLVMContext &Context, ArrayRef<AttrVal> Vals) {
|
Attributes Attributes::get(LLVMContext &Context, ArrayRef<AttrVal> Vals) {
|
||||||
AttrBuilder B;
|
AttrBuilder B;
|
||||||
for (ArrayRef<AttrVal>::iterator I = Vals.begin(), E = Vals.end();
|
for (ArrayRef<AttrVal>::iterator I = Vals.begin(), E = Vals.end();
|
||||||
@ -250,8 +246,7 @@ AttrBuilder &AttrBuilder::addStackAlignmentAttr(unsigned Align){
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
AttrBuilder &AttrBuilder::
|
AttrBuilder &AttrBuilder::removeAttribute(Attributes::AttrVal Val) {
|
||||||
removeAttribute(Attributes::AttrVal Val) {
|
|
||||||
Bits &= ~AttributesImpl::getAttrMask(Val);
|
Bits &= ~AttributesImpl::getAttrMask(Val);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user