[clang] [static analyzer] Fix crash on parenthesized expression in assume attribute (PR #151682)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 1 03:46:03 PDT 2025


================
@@ -0,0 +1,15 @@
+// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=cplusplus -verify %s
+// expected-no-diagnostics
----------------
steakhal wrote:

Could you move this test to `clang/test/Analysis/builtin_assume.cpp`?
Its so small that I don't think it deserves being separate.

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


More information about the cfe-commits mailing list