[clang] [clang] Simplify the overload resolution logic for operator new and new[] (PR #211482)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 23 01:17:06 PDT 2026


================
@@ -17387,7 +17375,7 @@ bool clang::shouldEnforceArgLimit(bool PartialOverloading,
 void Sema::DiagnoseUseOfDeletedFunction(SourceLocation Loc, SourceRange Range,
                                         DeclarationName Name,
                                         OverloadCandidateSet &CandidateSet,
-                                        FunctionDecl *Fn, MultiExprArg Args,
+                                        FunctionDecl *Fn, ArrayRef<Expr *> Args,
----------------
cor3ntin wrote:

Ditto

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


More information about the cfe-commits mailing list