Add a check to detect nested if statements which can be combined into one by ANDing the conditions.
This reduces indentation making code easier to read.
Details
Details
- Reviewers
alexfh aaron.ballman
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/docs/clang-tidy/checks/readability/nested-ifs.rst | ||
---|---|---|
59 | Excessive newline. |
Excessive newline.