aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/CommentParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/CommentParser.h')
-rw-r--r--include/clang/AST/CommentParser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/AST/CommentParser.h b/include/clang/AST/CommentParser.h
index 9539c9f54e..039079931c 100644
--- a/include/clang/AST/CommentParser.h
+++ b/include/clang/AST/CommentParser.h
@@ -24,6 +24,7 @@ namespace clang {
class SourceManager;
namespace comments {
+class CommandTraits;
/// Doxygen comment parser.
class Parser {
@@ -48,6 +49,8 @@ class Parser {
return Diags.Report(Loc, DiagID);
}
+ const CommandTraits &Traits;
+
/// Current lookahead token. We can safely assume that all tokens are from
/// a single source file.
Token Tok;
@@ -85,7 +88,8 @@ class Parser {
public:
Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator,
- const SourceManager &SourceMgr, DiagnosticsEngine &Diags);
+ const SourceManager &SourceMgr, DiagnosticsEngine &Diags,
+ const CommandTraits &Traits);
/// Parse arguments for \\param command.
void parseParamCommandArgs(ParamCommandComment *PC,