[clang] [Clang] Add diagnostic reasoning for unsatisfied is_destructible trait (PR #167291)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 10 02:52:26 PST 2025
================
@@ -2399,6 +2400,66 @@ static void DiagnoseNonConstructibleReason(
SemaRef.Diag(D->getLocation(), diag::note_defined_here) << D;
}
+static void DiagnoseNonDestructibleReason(Sema &SemaRef, SourceLocation Loc,
+ QualType T) {
+
+ QualType CoreT = T.getCanonicalType();
----------------
zyn0217 wrote:
What does `Core` stand for?
https://github.com/llvm/llvm-project/pull/167291
More information about the cfe-commits
mailing list