diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-04-14 21:45:45 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-04-14 21:45:45 +0000 |
commit | 55858499e21e0541423cfdb2be7eb18e52a40a2c (patch) | |
tree | f8cafe51949b13e4f40d14e7d9d1b2a2f7268d85 /clang/lib/AST/StmtProfile.cpp | |
parent | 7df212600083983b9dea7b070b018bdc4c7fb213 (diff) | |
download | bcm5719-llvm-55858499e21e0541423cfdb2be7eb18e52a40a2c.tar.gz bcm5719-llvm-55858499e21e0541423cfdb2be7eb18e52a40a2c.zip |
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.
llvm-svn: 129540
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
0 files changed, 0 insertions, 0 deletions