r254520 - Making the deleted copy constructor parameter const; NFC.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 09:07:31 PST 2015


Author: aaronballman
Date: Wed Dec  2 11:07:30 2015
New Revision: 254520

URL: http://llvm.org/viewvc/llvm-project?rev=254520&view=rev
Log:
Making the deleted copy constructor parameter const; NFC.

Modified:
    cfe/trunk/include/clang/Sema/AttributeList.h

Modified: cfe/trunk/include/clang/Sema/AttributeList.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/AttributeList.h?rev=254520&r1=254519&r2=254520&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/AttributeList.h (original)
+++ cfe/trunk/include/clang/Sema/AttributeList.h Wed Dec  2 11:07:30 2015
@@ -557,7 +557,7 @@ public:
   /// Create a new pool for a factory.
   AttributePool(AttributeFactory &factory) : Factory(factory), Head(nullptr) {}
 
-  AttributePool(AttributePool &) = delete;
+  AttributePool(const AttributePool &) = delete;
 
   /// Move the given pool's allocations to this pool.
   AttributePool(AttributePool &&pool) : Factory(pool.Factory), Head(pool.Head) {




More information about the cfe-commits mailing list