]> granicus.if.org Git - clang/commitdiff
Use LLVM_DELETED_FUNCTION instead of a comment.
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 31 Aug 2012 10:23:13 +0000 (10:23 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Fri, 31 Aug 2012 10:23:13 +0000 (10:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162985 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/CommentLexer.h
include/clang/AST/CommentParser.h
include/clang/AST/CommentSema.h

index 7a24b116317834262741f75414d6ea613f8e1676..97e0d9674e37e210ea1a6e395a5b79ecd0cabd13 100644 (file)
@@ -209,8 +209,8 @@ public:
 /// \brief Comment lexer.
 class Lexer {
 private:
-  Lexer(const Lexer&);          // DO NOT IMPLEMENT
-  void operator=(const Lexer&); // DO NOT IMPLEMENT
+  Lexer(const Lexer &) LLVM_DELETED_FUNCTION;
+  void operator=(const Lexer &) LLVM_DELETED_FUNCTION;
 
   /// Allocator for strings that are semantic values of tokens and have to be
   /// computed (for example, resolved decimal character references).
index 039079931c589993a25d959efd20e365f1f5fe7e..19e1d57fc3f53df3e23b919da5fe7be49a8799b0 100644 (file)
@@ -28,8 +28,8 @@ class CommandTraits;
 
 /// Doxygen comment parser.
 class Parser {
-  Parser(const Parser&);         // DO NOT IMPLEMENT
-  void operator=(const Parser&); // DO NOT IMPLEMENT
+  Parser(const Parser &) LLVM_DELETED_FUNCTION;
+  void operator=(const Parser &) LLVM_DELETED_FUNCTION;
 
   friend class TextTokenRetokenizer;
 
index a544aa947c575a62918e647ab9e8d749edbbffae..325218125533bea5da79dcc41dd389b101f1a5e2 100644 (file)
@@ -30,8 +30,8 @@ namespace comments {
 class CommandTraits;
 
 class Sema {
-  Sema(const Sema&);           // DO NOT IMPLEMENT
-  void operator=(const Sema&); // DO NOT IMPLEMENT
+  Sema(const Sema &) LLVM_DELETED_FUNCTION;
+  void operator=(const Sema &) LLVM_DELETED_FUNCTION;
 
   /// Allocator for AST nodes.
   llvm::BumpPtrAllocator &Allocator;