================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits