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

Igor Kudrin via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 23 23:52:13 PDT 2026


================
@@ -10371,7 +10428,7 @@ class Sema final : public SemaBase {
   void DiagnoseUseOfDeletedFunction(SourceLocation Loc, SourceRange Range,
                                     DeclarationName Name,
                                     OverloadCandidateSet &CandidateSet,
-                                    FunctionDecl *Fn, MultiExprArg Args,
+                                    FunctionDecl *Fn, ArrayRef<Expr *> Args,
----------------
igorkudrin wrote:

An immutable list would be better, but that change can be done in a separate commit.

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


More information about the cfe-commits mailing list