diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-24 16:10:47 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-24 16:10:47 +0000 |
commit | fd939162ff99a0084ed22a08dd37c149a0883a2b (patch) | |
tree | 7158d0914e86a8b1bdaf6b853bb062dcc6a85fb5 /include/clang/AST/CommentParser.h | |
parent | 9f17408d50c1d76c5eab435e4ceb924cc10757ab (diff) |
Comment parsing: retokenized text tokens are now pushed back in correct (not
reverse) order
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160675 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, 1 insertions, 1 deletions
diff --git a/include/clang/AST/CommentParser.h b/include/clang/AST/CommentParser.h index 47cab25f25..1e4e4f8694 100644 --- a/include/clang/AST/CommentParser.h +++ b/include/clang/AST/CommentParser.h @@ -83,7 +83,7 @@ class Parser { MoreLATokens.push_back(Tok); for (const Token *I = &Toks.back(), - *B = &Toks.front() + 1; + *B = &Toks.front(); I != B; --I) { MoreLATokens.push_back(*I); } |