summaryrefslogtreecommitdiff
path: root/test/Parser/cxx-extra-semi.cpp
Commit message (Collapse)AuthorAge
* Add diagnostics for comma at end of enum and for extra semicolon at namespaceRichard Smith2012-07-23
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160618 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the warnings for extra semi-colons under -Wextra-semi. Also, addedRichard Trieu2012-05-16
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156934 91177308-0d34-0410-b5e6-96231b3b80d8