[clang] [RFC] Initial implementation of P2719 (PR #113510)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 1 07:07:43 PDT 2024


================
@@ -1435,6 +1444,8 @@ namespace {
     unsigned NumPlacementArgs : 31;
     LLVM_PREFERRED_TYPE(bool)
     unsigned PassAlignmentToPlacementDelete : 1;
+    LLVM_PREFERRED_TYPE(bool)
+    unsigned PassTypeToPlacementDelete : 1;
----------------
AaronBallman wrote:

Because you're adding a bit here, you should remove a bit from `NumPlacementArgs` so we don't require another allocation unit for the bit-field.

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


More information about the cfe-commits mailing list