mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-20 10:30:17 +00:00
Remove default copy ctor/assignment, makes AttributeSet trivially copyable.
And enables SmallVector's pod optimizations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177281 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user