summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-11-16 22:22:20 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-11-16 22:22:20 +0000
commitfc53651d574ac45937289926618978fd8e2f0817 (patch)
tree1e3eb84413f113a5d6e75f3bb6ff629c5f648eae /include
parent3bae2696ff22659dc090c56b41cc162c21242d9e (diff)
downloadllvm-fc53651d574ac45937289926618978fd8e2f0817.tar.gz
llvm-fc53651d574ac45937289926618978fd8e2f0817.tar.bz2
llvm-fc53651d574ac45937289926618978fd8e2f0817.tar.xz
Remove default public copy ctors.
They are just useless and prevent SmallVector from picking an optimized codepath for memcpyable elements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Attributes.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index 5ace200803..0d6ce51434 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -92,11 +92,6 @@ private:
Attributes(AttributesImpl *A) : Attrs(A) {}
public:
Attributes() : Attrs(0) {}
- Attributes(const Attributes &A) : Attrs(A.Attrs) {}
- Attributes &operator=(const Attributes &A) {
- Attrs = A.Attrs;
- return *this;
- }
/// get - Return a uniquified Attributes object. This takes the uniquified
/// value from the Builder and wraps it in the Attributes class.
@@ -199,7 +194,6 @@ public:
AttrBuilder() : Bits(0) {}
explicit AttrBuilder(uint64_t B) : Bits(B) {}
AttrBuilder(const Attributes &A) : Bits(A.Raw()) {}
- AttrBuilder(const AttrBuilder &B) : Bits(B.Bits) {}
void clear() { Bits = 0; }