[clang] [clang][NFC] Remove dead PassTypeToPlacementDelete field (PR #143448)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 9 14:56:17 PDT 2025
https://github.com/ojhunt created https://github.com/llvm/llvm-project/pull/143448
The CallDeleteDuringNew::PassTypeToPlacementDelete field became unneeded during the many refactorings of P2719 but I didn't actually remove it.
>From c1fa0ea448210ab10e71bd7b2f4dc4d575056b39 Mon Sep 17 00:00:00 2001
From: Oliver Hunt <oliver at apple.com>
Date: Mon, 9 Jun 2025 14:53:17 -0700
Subject: [PATCH] [clang][NFC] Remove dead
CallDeleteDuringNew::PassTypeToPlacementDelete field
This field became unneeded during the many refactorings of P2719 but
I didn't actually remove it.
---
clang/lib/CodeGen/CGExprCXX.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/clang/lib/CodeGen/CGExprCXX.cpp b/clang/lib/CodeGen/CGExprCXX.cpp
index 024254b0affe4..359e30cb8f5cd 100644
--- a/clang/lib/CodeGen/CGExprCXX.cpp
+++ b/clang/lib/CodeGen/CGExprCXX.cpp
@@ -1446,8 +1446,6 @@ namespace {
unsigned NumPlacementArgs : 30;
LLVM_PREFERRED_TYPE(AlignedAllocationMode)
unsigned PassAlignmentToPlacementDelete : 1;
- LLVM_PREFERRED_TYPE(TypeAwareAllocationMode)
- unsigned PassTypeToPlacementDelete : 1;
const FunctionDecl *OperatorDelete;
RValueTy TypeIdentity;
ValueTy Ptr;
More information about the cfe-commits
mailing list