Author: gribozavr
Date: Tue Jul 24 19:02:45 2012
New Revision: 160702

URL: http://llvm.org/viewvc/llvm-project?rev=160702&view=rev
Log:
Make comments::Parser and comments::Sema noncopyable.

Modified:
    cfe/trunk/include/clang/AST/CommentParser.h
    cfe/trunk/include/clang/AST/CommentSema.h

Modified: cfe/trunk/include/clang/AST/CommentParser.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/CommentParser.h?rev=160702&r1=160701&r2=160702&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/CommentParser.h (original)
+++ cfe/trunk/include/clang/AST/CommentParser.h Tue Jul 24 19:02:45 2012
@@ -27,6 +27,9 @@
 
 /// Doxygen comment parser.
 class Parser {
+  Parser(const Parser&);         // DO NOT IMPLEMENT
+  void operator=(const Parser&); // DO NOT IMPLEMENT
+
   friend class TextTokenRetokenizer;
 
   Lexer &L;

Modified: cfe/trunk/include/clang/AST/CommentSema.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/CommentSema.h?rev=160702&r1=160701&r2=160702&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/CommentSema.h (original)
+++ cfe/trunk/include/clang/AST/CommentSema.h Tue Jul 24 19:02:45 2012
@@ -30,6 +30,9 @@
 namespace comments {
 
 class Sema {
+  Sema(const Sema&);           // DO NOT IMPLEMENT
+  void operator=(const Sema&); // DO NOT IMPLEMENT
+
   /// Allocator for AST nodes.
   llvm::BumpPtrAllocator &Allocator;
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to