summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx-extra-semi.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add diagnostics for comma at end of enum and for extra semicolon at namespaceRichard Smith2012-07-231-5/+21
| | | | | | | | scope to -Wc++11-extensions. Move extra semicolon after member function definition diagnostic out of -pedantic, since C++ allows a single semicolon there. Keep it in -Wextra-semi, though, since it's still questionable. llvm-svn: 160618
* Move the warnings for extra semi-colons under -Wextra-semi. Also, addedRichard Trieu2012-05-161-0/+25
a warning for an extra semi-colon after function definitions. Added logic so that a block of semi-colons on a line will only get one warning instead of a warning for each semi-colon. llvm-svn: 156934
OpenPOWER on IntegriCloud