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

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 11 19:51:03 PST 2026


================
@@ -3486,7 +3487,7 @@ static QualType checkBuiltinTemplateIdType(
 
   case BTK__builtin_common_type: {
     assert(Converted.size() == 4);
-    if (llvm::any_of(Converted, [](auto &C) { return C.isDependent(); }))
----------------
ojhunt wrote:

I think this change should be reverted, and I think that applies to all these dependence checks.

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


More information about the cfe-commits mailing list