commit | ea698b3f6cad84f7f583282dce3e03e24fe80e98 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Apr 14 21:45:45 2011 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Apr 14 21:45:45 2011 +0000 |
tree | 851f460d8d231911fafd2df0fac4422a57fcc22d | |
parent | 06d9b1ad0bca7230cbae57e3e3207dda77a9eac0 [diff] |
Detect when the string "<::" is found in code after a cast or template name and is interpreted as "[:" because of the digraph "<:". When found, give an error with a fix-it to add whitespace between the "<" and "::". Patch by Richard Trieu! Plus a small tweak from me to deal with one of the tokens coming from a macro. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129540 91177308-0d34-0410-b5e6-96231b3b80d8