Fixes a simple oversight which currently causes the AllowIntegerConditions option of the readability-implicit-bool-conversion check to not apply to do-while loop conditions, for no apparent reason.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/docs/ReleaseNotes.rst | ||
---|---|---|
199–202 |
Comment Actions
Thanks for reviewing this @PiotrZSL!
The AllowIntegerConditions and AllowPointerConditions options only apply to int -> bool conversions, whereas switch statements have integral conditions.