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

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 14 07:38:44 PDT 2018


lebedev.ri added inline comments.


================
Comment at: test/SemaCXX/extra-semi.cpp:14
+void F(){}
+; // expected-warning {{extra ';' outside of a function is}}
+
----------------
aaron.ballman wrote:
> Can you use the full diagnostic text for this first appearance in the test?
Will require preprocessor, because these are two different messages depending of `-std=`
Will do.


Repository:
  rC Clang

https://reviews.llvm.org/D43162





More information about the cfe-commits mailing list