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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 15 07:41:47 PDT 2025


================
@@ -1117,16 +1217,27 @@ class Sema;
     SmallVector<OverloadCandidate, 16> Candidates;
     llvm::SmallPtrSet<uintptr_t, 16> Functions;
 
-    // Allocator for ConversionSequenceLists. We store the first few of these
+    DeferredTemplateOverloadCandidate *FirstDeferredCandidate;
----------------
erichkeane wrote:

```suggestion
    DeferredTemplateOverloadCandidate *FirstDeferredCandidate = nullptr;
```

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


More information about the cfe-commits mailing list