[PATCH] [PATCH] [CONCEPTS] Parsing of concept keyword

Richard Smith richard at metafoo.co.uk
Thu Jun 18 20:28:43 PDT 2015


================
Comment at: lib/Sema/DeclSpec.cpp:899
@@ +898,3 @@
+  if (Concept_specified) {
+    DiagID = diag::ext_duplicate_declspec;
+    PrevSpec = "concept";
----------------
hubert.reinterpretcast wrote:
> This is still just a warning without `-pedantic-errors`; I'm okay with it if Richard is.
This is consistent with how we treat other violations of the same rule; it seems fine to me.

http://reviews.llvm.org/D10528

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list