nwilson 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 "
----------------
hubert.reinterpretcast wrote:
> 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.
I'll fix the typo. Thanks. I can change the wording as well; I don't feel too
strongly about it unless someone has a different opinion. Are you okay with the
second select?
So, it would be:
"%select{variable|function}0 concept cannot be declared
%select{thread_local|constexpr|inline}1"
http://reviews.llvm.org/D12435
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits