[clang] [MS][clang] Add support for vector deleting destructors (PR #126240)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 05:30:20 PST 2025


================
@@ -1366,9 +1372,9 @@ bool ItaniumCXXABI::isZeroInitializable(const MemberPointerType *MPT) {
 /// at entry -2 in the vtable.
 void ItaniumCXXABI::emitVirtualObjectDelete(CodeGenFunction &CGF,
                                             const CXXDeleteExpr *DE,
-                                            Address Ptr,
-                                            QualType ElementType,
-                                            const CXXDestructorDecl *Dtor) {
+                                            Address Ptr, QualType ElementType,
+                                            const CXXDestructorDecl *Dtor,
+                                            bool ArrayDeletion) {
----------------
Fznamznon wrote:

Yeah, I removed all ArrayDeletion mess. Something wrong happened in my head when doing this. Ofc we can ask this from CXXDeleteExpr. Thanks for spotting this!

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


More information about the cfe-commits mailing list