Use clang-tidy to simplify boolean conditional return statements
Details
Details
- Reviewers
hans krememek delesley bkramer jordan_rose doug.gregor - Commits
- rG090360d630cc: Refactor: simplify boolean conditional return statements in lib/Analysis
rC252256: Refactor: simplify boolean conditional return statements in lib/Analysis
rL252256: Refactor: simplify boolean conditional return statements in lib/Analysis
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Can someone commit this for me, please? Thanks!
Richard Thomson <legalize@xmission.com>
Comment Actions
In this case I think the change is all right, but many times we have a series of early returns ending with a "return true". In that case I'm not sure clang-tidy's version is clearer.