forked from OSchip/llvm-project
Use LLVM_DELETED_FUNCTION instead of a comment.
llvm-svn: 162985
This commit is contained in:
parent
329eae86ef
commit
d458ebb486
|
@ -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).
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue