summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-04-14 21:45:45 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-04-14 21:45:45 +0000
commit55858499e21e0541423cfdb2be7eb18e52a40a2c (patch)
treef8cafe51949b13e4f40d14e7d9d1b2a2f7268d85 /clang/lib/AST/StmtProfile.cpp
parent7df212600083983b9dea7b070b018bdc4c7fb213 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud