================
@@ -1911,7 +1912,9 @@ def note_unsatisfied_trait_reason
"%ArrayType{is an array type}|"
"%UnionType{is a union type}|"
"%NotStructOrClass{is not a struct or class type}|"
- "%OverridesAllPureVirtual{overrides all pure virtual functions from
base class %1}"
+ "%OverridesAllPureVirtual{overrides all pure virtual functions from
base class %1}|"
+ "%FunctionTypeNotConstQualified{is a function type, which are never
const-qualified}|"
----------------
Tsche wrote:
@cor3ntin do you have an opinion on this? I'm not a fan of the current
diagnostic (as it is grammatically incorrect), but the concern wrt having to do
a one-off here is valid.
Can you think of a better diagnostic text for this?
https://github.com/llvm/llvm-project/pull/235587
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits