[clang] Remove an else-after-return

This commit is contained in:
Nico Weber 2021-10-11 14:24:58 -04:00
parent 00ca004dda
commit 5ab2a95edb
1 changed files with 2 additions and 2 deletions

View File

@ -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) {