diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-24 17:52:18 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-24 17:52:18 +0000 |
commit | db13f04dd0579874932bdb958647d0903f632dd4 (patch) | |
tree | 6fd7057263845ecfe8a8c5e7467000ddd00281fa /include/clang/AST/CommentParser.h | |
parent | c4b0f9b851ca59e61b802d58792ea3600fd9a9d4 (diff) |
Comment parsing: couple TextTokenRetokenizer and comment parser together to
remove one of the two variable-length lookahead buffers. Now retokenizer will
ask for more tokens when it needs them.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/CommentParser.h')
-rw-r--r-- | include/clang/AST/CommentParser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/AST/CommentParser.h b/include/clang/AST/CommentParser.h index 1e4e4f8694..468468da18 100644 --- a/include/clang/AST/CommentParser.h +++ b/include/clang/AST/CommentParser.h @@ -27,6 +27,8 @@ namespace comments { /// Doxygen comment parser. class Parser { + friend class TextTokenRetokenizer; + Lexer &L; Sema &S; |