================
@@ -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`.
----------------
EugeneZelenko wrote:
Please wait for other reviewers. I deal only with documentation and minor code
style issues.
https://github.com/llvm/llvm-project/pull/120087
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits