[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 08:52:19 PDT 2025
================
@@ -1159,12 +1256,29 @@ class Sema;
return reinterpret_cast<T *>(FreeSpaceStart);
}
+ template <typename T> T *allocateDeferredCandidate() {
+ T *C = slabAllocate<T>(1);
----------------
erichkeane wrote:
Thinking further, the whole point of the slab is to put all the stuff in the same location, so this is a silly suggestion. Disregard.
https://github.com/llvm/llvm-project/pull/133426
More information about the cfe-commits
mailing list