]> granicus.if.org Git - clang/commitdiff
It appears that this horrible mutating copy constructor is unused. Kill it with fire.
authorAaron Ballman <aaron@aaronballman.com>
Tue, 1 Dec 2015 17:15:13 +0000 (17:15 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 1 Dec 2015 17:15:13 +0000 (17:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254423 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/AttributeList.h

index 8be55472b91d3122eb823805e622662ed6978741..7a84b20af231fc41c650293371ae30d5f7add81e 100644 (file)
@@ -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() {