diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-18 12:14:30 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-18 12:14:30 +0000 |
commit | 72f0cdea4160ec3a5f5123831a57f96d3a95456c (patch) | |
tree | 72aeadc612e4192600a3015f738c9abaec845248 /include | |
parent | 5470e677eef64d0c7cf07953927e9591e0615b80 (diff) | |
download | external_llvm-72f0cdea4160ec3a5f5123831a57f96d3a95456c.zip external_llvm-72f0cdea4160ec3a5f5123831a57f96d3a95456c.tar.gz external_llvm-72f0cdea4160ec3a5f5123831a57f96d3a95456c.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/Attributes.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index ddb8ea4..074b387 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -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 |