[clang] [analyzer] Fix crash upon encountering `MatrixSubscriptExpr` (PR #238268)

Gábor Tóthvári via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 04:05:05 PST 2026


================
@@ -0,0 +1,9 @@
+// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify -fenable-matrix %s
----------------
tigbr wrote:

Sorry, I've finished the edit on my previous comment after you have already replied.

I've realized that due to the `-fenable-matrix` argument needed for this test, I would have to add that argument to the existing invocations in `unsupported-types.c`, which I feel uneasy about doing just for the sake of saving a single invocation. I would suggest that we address the problem of too fine-grained tests separately from this patch if you don't mind.

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


More information about the cfe-commits mailing list