[clang] [clang][Sema] fix crash on __type_pack_element with dependent packs (GH180307) (PR #180407)

via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 9 08:31:08 PST 2026


Serosh-commits wrote:

> Independently of this change, we should probably deprecate `__type_pack_element` entirely. @zyn0217 and myself spent quite making sure pack indexing (`Ts...[42]`) handles dependent types properly and I suspect `__type_pack_element` falls short in more than one instance



> Independently of this change, we should probably deprecate `__type_pack_element` entirely. @zyn0217 and myself spent quite making sure pack indexing (`Ts...[42]`) handles dependent types properly and I suspect `__type_pack_element` falls short in more than one instance

 agreed  it'll be great to see pack indexing take over happy to help on this transition where I can let me know

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


More information about the cfe-commits mailing list