[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
Mon Apr 14 06:55:13 PDT 2025


================
@@ -1117,16 +1205,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;
+    unsigned DeferredCandidatesCount : 8 * sizeof(unsigned) - 2;
----------------
erichkeane wrote:

isn't this size possibly different on platforms, and thus makes the `32` on 1227 unreliable?  

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


More information about the cfe-commits mailing list