[PATCH] D52695: [clang][Parse] Diagnose useless null statements (PR39111)
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 3 12:34:28 PDT 2018
lebedev.ri updated this revision to Diff 168157.
lebedev.ri marked 4 inline comments as done.
lebedev.ri added a comment.
After looking at stage-2 of LLVM, remove `-Wextra-semi-stmt` from `-Wextra`, and add `-Wempty-init-stmt` back into `-Wextra`.
Anything else?
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.168157.patch
Type: text/x-patch
Size: 10340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181003/87ddd98f/attachment-0001.bin>
More information about the cfe-commits
mailing list