[PATCH] D52695: [clang][Parse] Diagnose useless null statements (PR39111)
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 2 13:47:56 PDT 2018
lebedev.ri updated this revision to Diff 168017.
lebedev.ri marked 3 inline comments as done.
lebedev.ri added a comment.
- Moved `-Wempty-init-stmt` into `-Wextra-semi-stmt`
- Moved `-Wextra-semi-stmt` out of `-Wextra-semi`
- Tentatively enabled `-Wextra-semi-stmt` in `-Wextra` (and removed `-Wempty-init-stmt` from `-Wextra`, since it will be transitively enabled by `-Wextra-semi-stmt`)
Repository:
rC Clang
https://reviews.llvm.org/D52695
Files:
docs/ReleaseNotes.rst
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseExprCXX.cpp
lib/Parse/ParseStmt.cpp
test/Parser/extra-semi-resulting-in-nullstmt-in-init-statement.cpp
test/Parser/extra-semi-resulting-in-nullstmt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52695.168017.patch
Type: text/x-patch
Size: 9581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181002/72c6def7/attachment.bin>
More information about the cfe-commits
mailing list