Use clang-tidy to simplify boolean conditional return statements
Details
Details
Diff Detail
Diff Detail
Event Timeline
| lib/AST/ASTImporter.cpp | ||
|---|---|---|
| 401 | Isn't this the sort of chained conditional you/we decided not to flag/suggest changes on? | |
| lib/AST/Decl.cpp | ||
| 2384 | this should probably be: if (auto *CS = dyn_cast<CompoundStmt>(S)) return CS->body_empty(); return false; | |
| lib/AST/DeclBase.cpp | ||
| 305 | another possible 'chain' style return | |
| lib/AST/DeclCXX.cpp | ||
| 413 | Another chain return | |
| lib/AST/Expr.cpp | ||
| 2669 | Possible chain | |
| lib/AST/ExprConstant.cpp | ||
| 207 | possible chain | |
| 2220 | possible chain | |
| lib/AST/ItaniumMangle.cpp | ||
| 1869 | chain | |
| 3728 | chain | |
Isn't this the sort of chained conditional you/we decided not to flag/suggest changes on?