Use LLVM_DELETED_FUNCTION instead of a comment.

llvm-svn: 162985
This commit is contained in:
Dmitri Gribenko 2012-08-31 10:23:13 +00:00
parent 329eae86ef
commit d458ebb486
3 changed files with 6 additions and 6 deletions

View 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).

View 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;

View 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;