commit | 08b2c3743a29a2dddcf72e95f747760e213cdde7 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Nov 19 15:22:16 2008 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Nov 19 15:22:16 2008 +0000 |
tree | 5c7f33ab3fe286c42643cfde7a88ec9979aa61b1 | |
parent | fad03b2b38a3baea4b67e79e676fee15078e3258 [diff] |
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