[clang] [RFC] Initial implementation of P2719 (PR #113510)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 25 13:39:24 PDT 2025
================
@@ -2520,6 +2520,18 @@ class FunctionDecl : public DeclaratorDecl,
/// If this function is an allocation/deallocation function that takes
/// the `std::nothrow_t` tag, return true through IsNothrow,
bool isReplaceableGlobalAllocationFunction(
+ std::optional<unsigned> *AlignmentParam = nullptr,
----------------
cor3ntin wrote:
Oh, is it because isTypeAwareOperatorNewOrDelete are not considered replaceable global? Fine
https://github.com/llvm/llvm-project/pull/113510
More information about the cfe-commits
mailing list