[clang] [clang][CFG] Fix assertion failure in checkIncorrectLogicOperator (PR #142897)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 5 09:31:39 PDT 2025


================
@@ -0,0 +1,16 @@
+// RUN: %clang_cc1 -verify -Wunreachable-code %s
+
+// Previously this test will crash
+static void test(__fp16& x) {
----------------
steakhal wrote:

I think after adding the `no-crash` tag (as in the analyzer community usually do) this comment would become less relevant.

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


More information about the cfe-commits mailing list