[clang] [analyzer] Correct crash in Z3 wrapper (PR #158276)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 12 05:59:04 PDT 2025


================
@@ -13,3 +13,29 @@ int negate(int x, int y) {
     return 0;
   return 1;
 }
+
+void c();
+void case004(int *a, int *b) {
+  void *e;
+  b != a;
+  c(e); // expected-warning{{1st function call argument is an uninitialized value}}
+}
----------------
NagyDonat wrote:

How is this testcase related to your change?

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


More information about the cfe-commits mailing list