diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-19 15:22:16 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-19 15:22:16 +0000 |
| commit | 08b2c3743a29a2dddcf72e95f747760e213cdde7 (patch) | |
| tree | 5c7f33ab3fe286c42643cfde7a88ec9979aa61b1 /lib/CodeGen/CGExpr.cpp | |
| parent | fad03b2b38a3baea4b67e79e676fee15078e3258 (diff) | |
| download | clang-08b2c3743a29a2dddcf72e95f747760e213cdde7.tar.gz clang-08b2c3743a29a2dddcf72e95f747760e213cdde7.tar.bz2 clang-08b2c3743a29a2dddcf72e95f747760e213cdde7.tar.xz | |
Fix this:
With this snippet:
void f(a::b);
An assert is hit:
Assertion failed: CachedTokens[CachedLexPos-1].getLocation() == Tok.getAnnotationEndLoc() && "The annotation should be until the most recent cached token", file ..\..\lib\Lex\PPCaching.cpp, line 98
Introduce Preprocessor::RevertCachedTokens that reverts a specific number of tokens when backtracking is enabled.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59636 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
