[PATCH] D13357: [Concepts] Diagnose when 'concept' is specified on a specialization

Nathan Wilson via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 2 20:46:04 PST 2015


nwilson added inline comments.

================
Comment at: lib/Sema/SemaDecl.cpp:5909
@@ +5908,3 @@
+             diag::err_concept_specified_specialization)
+          << (IsPartialSpecialization ? 2 : 1);
+        NewVD->setInvalidDecl(true);
----------------
Hmm, I'd lean toward leaving it as is until the wording is sorted out. I don't feel too strongly either way though.


http://reviews.llvm.org/D13357





More information about the cfe-commits mailing list