[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:14 PDT 2025


================
@@ -1015,6 +1045,62 @@ class Sema;
           RewriteKind(CRK_None) {}
   };
 
+  struct DeferredTemplateOverloadCandidate {
+    DeferredTemplateOverloadCandidate *Next = nullptr;
----------------
erichkeane wrote:

Comment here + on the slab allocator function as to WHY we are doing this instead of a std::vector/etc would probably be helpful.  I understand it, but I probably won't next time I see this code ;) 

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


More information about the cfe-commits mailing list