]> granicus.if.org Git - clang/commit
Move the warnings for extra semi-colons under -Wextra-semi. Also, added
authorRichard Trieu <rtrieu@google.com>
Wed, 16 May 2012 19:04:59 +0000 (19:04 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 16 May 2012 19:04:59 +0000 (19:04 +0000)
commit4b0e6f1da341510c1ad83eaf4c836f3134d0156a
tree2dff3a69b5a063baa3ca503771b8cf6f5db4e9c5
parent533718fb27f87a25bf9f6fdd69df4a4ce8b783a6
Move the warnings for extra semi-colons under -Wextra-semi.  Also, added
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
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Parse/Parser.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Parse/ParseObjc.cpp
lib/Parse/Parser.cpp
test/Misc/warning-flags.c
test/Parser/cxx-class.cpp
test/Parser/cxx-extra-semi.cpp [new file with mode: 0644]