[clang] [analyzer] `canReasonAbout` does not support `nonloc::LazyCompoundVal` (PR #87521)

Andrew V. Teylu via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 4 23:23:42 PDT 2024


================
@@ -0,0 +1,17 @@
+// REQUIRES: crash-recovery, asserts
----------------
aytey wrote:

Actually, that's a good point.

I added that bit because the only way I can *guarantee* it will crash (with main) is if we have asserts on.

I'll remove this, but if someone wants to check the test I added and they go "hey, this works on main!", then hopefully they'll try an assertion-enabled build 🙏 

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


More information about the cfe-commits mailing list