[clang] [clang] adds explanation for why std::is_const is false (PR #235587)

Jared Wyles via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 23:30:55 PST 2026


================
@@ -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}|"
----------------
jaredwy wrote:

I would also just be happy with FunctionType lol 

https://github.com/llvm/llvm-project/pull/235587


More information about the cfe-commits mailing list