llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-codegen Author: Oliver Hunt (ojhunt) <details> <summary>Changes</summary> The CallDeleteDuringNew::PassTypeToPlacementDelete field became unneeded during the many refactorings of P2719 but I didn't actually remove it. --- Full diff: https://github.com/llvm/llvm-project/pull/143448.diff 1 Files Affected: - (modified) clang/lib/CodeGen/CGExprCXX.cpp (-2) ``````````diff 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; `````````` </details> https://github.com/llvm/llvm-project/pull/143448 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits