[clang] [Clang] Bypass TAD during overload resolution if a perfect match exists (PR #136018)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 16 13:26:50 PDT 2025
================
@@ -1005,14 +1005,14 @@ class Sema;
// An overload is a perfect match if the conversion
// sequences for each argument are perfect.
- bool isPerfectMatch(const ASTContext &Ctx) const {
+ bool isPerfectMatch(const ASTContext &Ctx, bool ForConversion) const {
----------------
erichkeane wrote:
Vastly prefer this take the `Kind`, then line 1015 describe why conversions are ok when CSK_InitByUserDefinedConversion.
https://github.com/llvm/llvm-project/pull/136018
More information about the cfe-commits
mailing list