commit | 19a2702042b7e3ee838cca458b35f607111a3897 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Jun 18 06:11:04 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Jun 18 06:11:04 2012 +0000 |
tree | bad920c4a3694b180ea40b73328a232cc14ef81f | |
parent | 7e58ad5a6756f31b48a0d54d5f5c367328150a46 [diff] |
Extend the error recovery for a template-argument-list terminated by '>>' to also deal with '>>>' (in CUDA), '>=', and '>>='. Fix the FixItHints logic to deal with cases where the token is followed by an adjacent '=', '==', '>=', '>>=', or '>>>' token, where a naive fix-it would result in a differing token stream on a re-lex. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158652 91177308-0d34-0410-b5e6-96231b3b80d8