mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +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:
parent
5470e677ee
commit
72f0cdea41
@ -226,11 +226,6 @@ private:
|
||||
explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {}
|
||||
public:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user