mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 12:21:04 +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) {}
|
||||
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