[clang] [RFC] Initial implementation of P2719 (PR #113510)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 9 14:52:22 PDT 2025
================
@@ -1434,10 +1446,13 @@ namespace {
QualType ArgType;
};
- unsigned NumPlacementArgs : 31;
- LLVM_PREFERRED_TYPE(bool)
+ unsigned NumPlacementArgs : 30;
+ LLVM_PREFERRED_TYPE(AlignedAllocationMode)
unsigned PassAlignmentToPlacementDelete : 1;
+ LLVM_PREFERRED_TYPE(TypeAwareAllocationMode)
+ unsigned PassTypeToPlacementDelete : 1;
----------------
ojhunt wrote:
sorry this slipped my mind once I had verified it was just dead code instead of UB lying in wait.
Will push a PR shortly
https://github.com/llvm/llvm-project/pull/113510
More information about the cfe-commits
mailing list