[clang-tools-extra] Added options to readability-implicit-bool-conversion (PR #120087)

via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 19 04:42:30 PST 2024


================
@@ -147,3 +147,38 @@ Options
       if (foo) {}
       // ^ propose replacement default: if (foo != 0u) {}
       // ^ propose replacement with option `UseUpperCaseLiteralSuffix`: if (foo != 0U) {}
+.. option:: CheckConversionsToBool
+
+   When `true`, the check diagnoses implicit conversions to `bool`. Default is `true`.
----------------
4m4n-x-B4w4ne wrote:

Hey @EugeneZelenko , As everything got reviewed .Is it possible to merge my PR ?

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


More information about the cfe-commits mailing list