From 0d9cbd7a17d4662131e65752f87a3abdd5cf89a1 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254423 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Sema/AttributeList.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/clang/Sema/AttributeList.h b/include/clang/Sema/AttributeList.h index 8be55472b9..7a84b20af2 100644 --- a/include/clang/Sema/AttributeList.h +++ b/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() { -- 2.40.0