[clang] [Clang][Modules] Fix crash when redefining default template argument (PR #185237)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 8 19:23:13 PDT 2026


================
@@ -8138,9 +8167,6 @@ static Expr *BuildExpressionFromNonTypeTemplateArgumentValue(
     return MakeInitList(Elts);
   }
 
-  case APValue::Matrix:
-    llvm_unreachable("Matrix template argument expression not yet supported");
-
----------------
ChuanqiXu9 wrote:

Why? The change seems not related?

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


More information about the cfe-commits mailing list