forked from OSchip/llvm-project
[clang] Remove an else-after-return
This commit is contained in:
parent
00ca004dda
commit
5ab2a95edb
|
@ -3124,9 +3124,9 @@ CFGBlock *CFGBuilder::VisitReturnStmt(Stmt *S) {
|
|||
if (Expr *O = RS->getRetValue())
|
||||
return Visit(O, AddStmtChoice::AlwaysAdd, /*ExternallyDestructed=*/true);
|
||||
return Block;
|
||||
} else { // co_return
|
||||
return VisitChildren(S);
|
||||
}
|
||||
// co_return
|
||||
return VisitChildren(S);
|
||||
}
|
||||
|
||||
CFGBlock *CFGBuilder::VisitSEHExceptStmt(SEHExceptStmt *ES) {
|
||||
|
|
Loading…
Reference in New Issue