[clang] [clang] Added warn-assignment-bool-context (PR #115234)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 21 07:19:43 PST 2025


================
@@ -0,0 +1,35 @@
+// RUN: %clang_cc1 -x c -fsyntax-only -Wparentheses -verify %s
+
+// NOTE: Don't know if tests allow includes.
+#include <stdbool.h>
----------------
erichkeane wrote:

Include shouldn't be here, you can just define the thing manually if you'd like.

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


More information about the cfe-commits mailing list