[clang-tools-extra] [clang-tidy] Enable C99 in `implicit-bool-conversion` and avoid FP with `bool` operands in C23 (PR #171070)

via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 7 17:20:30 PST 2025


================
@@ -543,7 +543,8 @@ Changes in existing checks
 - Improved :doc:`readability-implicit-bool-conversion
   <clang-tidy/checks/readability/implicit-bool-conversion>` check by correctly
   adding parentheses when the inner expression are implicitly converted
-  multiple times.
+  multiple times, enabling the check in C99,  and avoiding false positives when
----------------
EugeneZelenko wrote:

```suggestion
  multiple times, enabling the check in C99, and avoiding false positives when
```

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


More information about the cfe-commits mailing list