[llvm-branch-commits] [clang] [Clang] [C++26] Expansion Statements (Part 10: Expansion Limit) (PR #169689)
Corentin Jabot via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon May 4 09:23:18 PDT 2026
https://github.com/cor3ntin commented:
Is an actual performance concern here?
Unlike recursive things it's bound to terminate, and it's not adding recursion in itself - the limit from the compiler perspective is the number of instantiations / objects in the declaration context.
I expect people will want to iterate over the member of `::` or `::std` and expect that to somehow work.
So i think this is fine for now but we will probably have to adjust with use cases
https://github.com/llvm/llvm-project/pull/169689
More information about the llvm-branch-commits
mailing list