[PATCH] D13357: [Concepts] Diagnose when 'concept' is specified on a specialization
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 13 07:25:35 PST 2015
hubert.reinterpretcast added a comment.
Comment added inline. Otherwise, LGTM.
================
Comment at: lib/Sema/SemaDecl.cpp:7659
@@ +7658,3 @@
+ Diag(D.getDeclSpec().getConceptSpecLoc(),
+ diag::err_concept_specified_specialization) << 1;
+ }
----------------
I don't think the declaration should still be marked as a concept in this case.
http://reviews.llvm.org/D13357
More information about the cfe-commits
mailing list