aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/AST/CommentParser.h3
-rw-r--r--include/clang/AST/CommentSema.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/AST/CommentParser.h b/include/clang/AST/CommentParser.h
index 468468da18..43c669adba 100644
--- a/include/clang/AST/CommentParser.h
+++ b/include/clang/AST/CommentParser.h
@@ -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;
diff --git a/include/clang/AST/CommentSema.h b/include/clang/AST/CommentSema.h
index 56d61f1693..17d9ab7761 100644
--- a/include/clang/AST/CommentSema.h
+++ b/include/clang/AST/CommentSema.h
@@ -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;