================
@@ -9543,6 +9543,45 @@ bool 
SpecialMemberDeletionInfo::shouldDeleteForSubobjectCall(
   if (DiagKind == -1)
     return false;
 
+  if (S.Context.getLangOpts().CPlusPlus26 && inUnion() &&
----------------
Sirraide wrote:

(also in a few other places below)

https://github.com/llvm/llvm-project/pull/146815
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to