[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
Fri Jul 24 01:18:56 PDT 2026


https://github.com/igorkudrin commented:

I'd personally prefer the linear approach from #203824, since it avoids regenerating arguments and candidates for diagnostic output and makes the lookup regeneration for the MSVC fallback more explicit. That said, since this variant also simplifies implementing CWG2282, I'm happy to move forward with it.

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


More information about the cfe-commits mailing list