[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:29:13 PST 2025


================
@@ -2013,7 +2023,7 @@ llvm::Value *MicrosoftCXXABI::EmitVirtualDestructorCall(
   ASTContext &Context = getContext();
   llvm::Value *ImplicitParam = llvm::ConstantInt::get(
       llvm::IntegerType::getInt32Ty(CGF.getLLVMContext()),
-      DtorType == Dtor_Deleting);
+      2 * (ArrayDeletion) + (DtorType == Dtor_Deleting));
----------------
Fznamznon wrote:

Yeah, makes sense, thanks.

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


More information about the cfe-commits mailing list