From a9918e897bbbedcd4c94ccf024223a898cdbfc95 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Tue, 1 Dec 2015 17:15:13 +0000 Subject: [PATCH] It appears that this horrible mutating copy constructor is unused. Kill it with fire. llvm-svn: 254423 --- clang/include/clang/Sema/AttributeList.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clang/include/clang/Sema/AttributeList.h b/clang/include/clang/Sema/AttributeList.h index 8be55472b91d..7a84b20af231 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() {