summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/extern_cxx.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-05-18 19:21:48 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-05-18 19:21:48 +0000
commitaf3b3256270ca41eb0ab5e8d0af1ba2e0d698689 (patch)
treeca7d1a7b292e115cff4c6cc778533a0414a3aec3 /clang/test/Modules/extern_cxx.cpp
parent03638d091a90f0e683637d2abfe678a3f274427a (diff)
downloadbcm5719-llvm-af3b3256270ca41eb0ab5e8d0af1ba2e0d698689.tar.gz
bcm5719-llvm-af3b3256270ca41eb0ab5e8d0af1ba2e0d698689.zip
Fix the location of "missing ';'" suggestions after annotation tokens.
We were incorrectly setting PrevTokLocation to the first token in the annotation token instead of the last when consuming it. To fix this without adding a complex switch to the hot path through ConsumeToken, we now have a ConsumeAnnotationToken function for consuming annotation tokens in addition to the other Consume*Token special case functions. llvm-svn: 303372
Diffstat (limited to 'clang/test/Modules/extern_cxx.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud