[PATCH] D81272: [clang-tidy] New check `misc-redundant-condition`
Whisperity via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 25 02:08:40 PDT 2020
whisperity added a comment.
As a future work, when something support `if`s, it should also support `?:`, and eliminate redundant conditionals from there, too.
I believe this check (together with `misc-redundant-expr`) should go into the `readability-` group.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81272/new/
https://reviews.llvm.org/D81272
More information about the cfe-commits
mailing list