[clang-tools-extra] Added options to readability-implicit-bool-conversion (PR #120087)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 18 07:24:50 PST 2024
================
@@ -319,10 +319,15 @@ Changes in existing checks
diagnostic.
- Improved :doc:`readability-implicit-bool-conversion
- <clang-tidy/checks/readability/implicit-bool-conversion>` check
- by adding the option `UseUpperCaseLiteralSuffix` to select the
- case of the literal suffix in fixes and fixing false positive for implicit
- conversion of comparison result in C23.
+ <clang-tidy/checks/readability/implicit-bool-conversion>` check by adding
+ the option
+ - `UseUpperCaseLiteralSuffix` : to select the case of the literal suffix in
+ fixes and fixing false positive for implicit conversion of comparison
+ result in C23.
+ - `CheckConversionsToBool`: to allow enabling or disabling warnings for
+ implicit conversions to `bool` .
----------------
EugeneZelenko wrote:
```suggestion
implicit conversions to ``bool``.
```
https://github.com/llvm/llvm-project/pull/120087
More information about the cfe-commits
mailing list