summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExprCXX.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-10-20 20:53:20 +0000
committerReid Kleckner <rnk@google.com>2016-10-20 20:53:20 +0000
commitae818501b7d891512de45c1f7362045c53440a46 (patch)
treecad98b7a755a9f4ea661ab2ebb1eb7c7ecc5b989 /clang/lib/Sema/SemaExprCXX.cpp
parent94dff2c0af5cd8bb3877e6defad76e6cec60d1e8 (diff)
downloadbcm5719-llvm-ae818501b7d891512de45c1f7362045c53440a46.tar.gz
bcm5719-llvm-ae818501b7d891512de45c1f7362045c53440a46.zip
Fix off-by-one error in PPCaching.cpp token annotation assertion
This assert is intended to defend against backtracking into the middle of a sequence of tokens that is being replaced with an annotation, but it's OK if we backtrack to the exact position of the start of the annotation sequence. Use a <= comparison instead of <. Fixes PR25946 llvm-svn: 284777
Diffstat (limited to 'clang/lib/Sema/SemaExprCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud