[clang] [RFC] Initial implementation of P2719 (PR #113510)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 30 02:29:56 PST 2025
================
@@ -3384,7 +3386,7 @@ bool FunctionDecl::isReservedGlobalPlacementOperator() const {
return (proto->getParamType(1).getCanonicalType() == Context.VoidPtrTy);
}
-bool FunctionDecl::isReplaceableGlobalAllocationFunction(
+bool FunctionDecl::isConstEvalSafeOrReplaceableGlobalAllocationFunction(
std::optional<unsigned> *AlignmentParam, bool *IsNothrow) const {
----------------
cor3ntin wrote:
I did not notice that before, and this is pre-existing but... `std::optional<unsigned> *` is hurting my sensibilities!
https://github.com/llvm/llvm-project/pull/113510
More information about the cfe-commits
mailing list