[PATCH] D52695: [clang][Parse] Diagnose useless null statements (PR39111)
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 19 08:58:13 PST 2018
lebedev.ri added inline comments.
================
Comment at: test/Parser/extra-semi-resulting-in-nullstmt.cpp:81
+ }
+}
----------------
aaron.ballman wrote:
> There are four additional tests I'd like to see: 1) a semicolon at global scope, 2) a semicolon after a namespace declaration (e.g., `namespace foo {};`), 3) a `[[fallthrough]];` null statement, 4) a `[[]];` null statement.
None of these warn, added.
Repository:
rC Clang
https://reviews.llvm.org/D52695
More information about the cfe-commits
mailing list