[clang] [Clang] Bypass TAD during overload resolution if a perfect match exists (PR #136018)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 16 16:35:35 PDT 2025


================
@@ -96,6 +96,12 @@ C++ Language Changes
       asm((std::string_view("nop")) ::: (std::string_view("memory")));
     }
 
+- Clang now implements the changes to overload resolution proposed by section 1 and 2 of
+  `P3606 <https://wg21.link/P3606R0>`_. If a non-template candidate exists in an overload set that is
+  a perfect match (all conversion sequences are identity conversions) template candiates are not instantiated.
----------------
h-vetinari wrote:

```suggestion
  a perfect match (all conversion sequences are identity conversions) template candidates are not instantiated.
```

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


More information about the cfe-commits mailing list