forked from OSchip/llvm-project
Make comments::Parser and comments::Sema noncopyable.
llvm-svn: 160702
This commit is contained in:
parent
a92cf29f0d
commit
e6af54af9b
|
@ -27,6 +27,9 @@ namespace comments {
|
|||
|
||||
/// Doxygen comment parser.
|
||||
class Parser {
|
||||
Parser(const Parser&); // DO NOT IMPLEMENT
|
||||
void operator=(const Parser&); // DO NOT IMPLEMENT
|
||||
|
||||
friend class TextTokenRetokenizer;
|
||||
|
||||
Lexer &L;
|
||||
|
|
|
@ -30,6 +30,9 @@ class SourceMgr;
|
|||
namespace comments {
|
||||
|
||||
class Sema {
|
||||
Sema(const Sema&); // DO NOT IMPLEMENT
|
||||
void operator=(const Sema&); // DO NOT IMPLEMENT
|
||||
|
||||
/// Allocator for AST nodes.
|
||||
llvm::BumpPtrAllocator &Allocator;
|
||||
|
||||
|
|
Loading…
Reference in New Issue