[PATCH] D108003: [Clang] Extend -Wbool-operation to warn about bitwise and of bools with side effects
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 6 02:52:05 PDT 2021
xbolva00 added a comment.
In D108003#3044853 <https://reviews.llvm.org/D108003#3044853>, @sylvestre.ledru wrote:
> It found a few issues on Firefox:
> https://bugzilla.mozilla.org/show_bug.cgi?id=1734285
>
> I think it should be added it in the release notes:
> https://reviews.llvm.org/D111215
Thanks, all found cases are not “security/memory” issues but they should use logical op to improve code readability (no reason for bitwise op).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108003/new/
https://reviews.llvm.org/D108003
More information about the cfe-commits
mailing list