]> granicus.if.org Git - clang/commitdiff
disable copying and assignment of AttributeList
authorChris Lattner <sabre@nondot.org>
Thu, 19 Feb 2009 06:41:35 +0000 (06:41 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 19 Feb 2009 06:41:35 +0000 (06:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65025 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Parse/AttributeList.h

index 97ad2917ba1a9a7a425561002f572eaf5ca5ce94..bfa03571d6a647e2c635e259261e75433951b179 100644 (file)
@@ -35,6 +35,8 @@ class AttributeList {
   Action::ExprTy **Args;
   unsigned NumArgs;
   AttributeList *Next;
+  AttributeList(const AttributeList &); // DO NOT IMPLEMENT
+  void operator=(const AttributeList &); // DO NOT IMPLEMENT
 public:
   AttributeList(IdentifierInfo *AttrName, SourceLocation AttrLoc,
                 IdentifierInfo *ParmName, SourceLocation ParmLoc,