mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 05:13:01 +00:00
Remove default copy ctor/assignment, makes AttributeSet trivially copyable.
And enables SmallVector's pod optimizations. llvm-svn: 177281
This commit is contained in:
parent
30ae1357f5
commit
bb22dec29c
@ -226,11 +226,6 @@ private:
|
|||||||
explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {}
|
explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {}
|
||||||
public:
|
public:
|
||||||
AttributeSet() : pImpl(0) {}
|
AttributeSet() : pImpl(0) {}
|
||||||
AttributeSet(const AttributeSet &P) : pImpl(P.pImpl) {}
|
|
||||||
const AttributeSet &operator=(const AttributeSet &RHS) {
|
|
||||||
pImpl = RHS.pImpl;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
//===--------------------------------------------------------------------===//
|
//===--------------------------------------------------------------------===//
|
||||||
// AttributeSet Construction and Mutation
|
// AttributeSet Construction and Mutation
|
||||||
|
Loading…
Reference in New Issue
Block a user