diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-10-19 21:33:05 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-10-19 21:33:05 +0000 |
commit | 09f76ee63c5179dddcd3eb608f392e33d5374f17 (patch) | |
tree | 6cc32f920e014b19d7fb198dcbd69bea0a7e6692 /clang/test/SemaCXX/anonymous-struct.cpp | |
parent | d72b178a453ca8cac5d1fb00c38499a1c5c09df8 (diff) | |
download | bcm5719-llvm-09f76ee63c5179dddcd3eb608f392e33d5374f17.tar.gz bcm5719-llvm-09f76ee63c5179dddcd3eb608f392e33d5374f17.zip |
Improve the diagnostic when a comma ends up at the end of a declarator group
instead of a semicolon (as sometimes happens during refactorings). When such a
comma is seen at the end of a line, and is followed by something which can't
possibly be a declarator (or even something which might be a plausible typo for
a declarator), suggest that a semicolon was intended.
llvm-svn: 142544
Diffstat (limited to 'clang/test/SemaCXX/anonymous-struct.cpp')
0 files changed, 0 insertions, 0 deletions