Adds support for explicit casts using initListExpr,
for example: int{boolValue} constructions.
Fixes: #47000
Paths
| Differential D147551
[clang-tidy] Fix init-list handling in readability-implicit-bool-conversion ClosedPublic Authored by PiotrZSL on Apr 4 2023, 11:38 AM.
Details Summary Adds support for explicit casts using initListExpr, Fixes: #47000
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 4 2023, 6:10 PM Closed by commit rGdfa8f5b13e58: [clang-tidy] Fix init-list handling in readability-implicit-bool-conversion (authored by PiotrZSL). · Explain WhyApr 5 2023, 3:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 510867 clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion.cpp
|