summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-12-01 17:15:13 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-12-01 17:15:13 +0000
commita9918e897bbbedcd4c94ccf024223a898cdbfc95 (patch)
tree2b3b3b4b1687c819e0f2dbdbef5e943e1f99721f
parent430110cc0b4968a1d0f4f2b38736dd1fda807685 (diff)
downloadbcm5719-llvm-a9918e897bbbedcd4c94ccf024223a898cdbfc95.tar.gz
bcm5719-llvm-a9918e897bbbedcd4c94ccf024223a898cdbfc95.zip
It appears that this horrible mutating copy constructor is unused. Kill it with fire.
llvm-svn: 254423
-rw-r--r--clang/include/clang/Sema/AttributeList.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/include/clang/Sema/AttributeList.h b/clang/include/clang/Sema/AttributeList.h
index 8be55472b91..7a84b20af23 100644
--- a/clang/include/clang/Sema/AttributeList.h
+++ b/clang/include/clang/Sema/AttributeList.h
@@ -557,11 +557,6 @@ public:
/// Create a new pool for a factory.
AttributePool(AttributeFactory &factory) : Factory(factory), Head(nullptr) {}
- /// Move the given pool's allocations to this pool.
- AttributePool(AttributePool &pool) : Factory(pool.Factory), Head(pool.Head) {
- pool.Head = nullptr;
- }
-
AttributeFactory &getFactory() const { return Factory; }
void clear() {
OpenPOWER on IntegriCloud