aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/CommentBriefParser.h
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-08-09 00:03:17 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-08-09 00:03:17 +0000
commitaa58081902ad31927df02e8537d972eabe29d6df (patch)
treeb6f5f6acf0c80eaec20a2131369fd81026ede6a0 /include/clang/AST/CommentBriefParser.h
parent42f74f21ece01dc8573d5377859d327fbb23b26c (diff)
Comment parsing: extract TableGen'able pieces into new CommandTraits class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/CommentBriefParser.h')
-rw-r--r--include/clang/AST/CommentBriefParser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/AST/CommentBriefParser.h b/include/clang/AST/CommentBriefParser.h
index 62fdf6bdc4..003c33727e 100644
--- a/include/clang/AST/CommentBriefParser.h
+++ b/include/clang/AST/CommentBriefParser.h
@@ -30,6 +30,8 @@ namespace comments {
class BriefParser {
Lexer &L;
+ const CommandTraits &Traits;
+
/// Current lookahead token.
Token Tok;
@@ -40,7 +42,7 @@ class BriefParser {
}
public:
- BriefParser(Lexer &L);
+ BriefParser(Lexer &L, const CommandTraits &Traits);
/// Return \\brief paragraph, if it exists; otherwise return the first
/// paragraph.