[clang] [C++20] Destroying delete and deleted destructors (PR #118800)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 5 06:14:11 PST 2024
================
@@ -3792,13 +3792,15 @@ Sema::ActOnCXXDelete(SourceLocation StartLoc, bool UseGlobal,
.HasSizeT;
}
- if (!PointeeRD->hasIrrelevantDestructor())
+ if (!PointeeRD->hasIrrelevantDestructor() &&
----------------
erichkeane wrote:
Would love a standards quote here.
https://github.com/llvm/llvm-project/pull/118800
More information about the cfe-commits
mailing list