[PATCH] D43162: [Parser] (C++) Make -Wextra-semi slightly more useful

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 14 07:28:02 PDT 2018


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM aside from a testing nit.



================
Comment at: test/SemaCXX/extra-semi.cpp:14
+void F(){}
+; // expected-warning {{extra ';' outside of a function is}}
+
----------------
Can you use the full diagnostic text for this first appearance in the test?


Repository:
  rC Clang

https://reviews.llvm.org/D43162





More information about the cfe-commits mailing list