hubert.reinterpretcast added inline comments. ================ Comment at: include/clang/Basic/DiagnosticSemaKinds.td:1982 @@ -1981,1 +1981,3 @@ "function concept cannot have exception specification">; +def err_concept_decl_invalid_sepcifiers : Error< + "%select{variable|function}0 concept cannot be declared with " ---------------- The wording seems unwieldy. There are a number of messages of the form:
> [ ... ] cannot be declared '<blah>' Perhaps something along those lines would work here? btw, there's a typo in the message identifier. http://reviews.llvm.org/D12435 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits