Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 72f0cde

Browse files
committed
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
1 parent 5470e67 commit 72f0cde

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

include/llvm/IR/Attributes.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,6 @@ class AttributeSet {
226226
explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {}
227227
public:
228228
AttributeSet() : pImpl(0) {}
229-
AttributeSet(const AttributeSet &P) : pImpl(P.pImpl) {}
230-
const AttributeSet &operator=(const AttributeSet &RHS) {
231-
pImpl = RHS.pImpl;
232-
return *this;
233-
}
234229

235230
//===--------------------------------------------------------------------===//
236231
// AttributeSet Construction and Mutation

0 commit comments

Comments
 (0)