commit | af3b3256270ca41eb0ab5e8d0af1ba2e0d698689 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu May 18 19:21:48 2017 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu May 18 19:21:48 2017 +0000 |
tree | ca7d1a7b292e115cff4c6cc778533a0414a3aec3 | |
parent | 03638d091a90f0e683637d2abfe678a3f274427a [diff] |
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