Skip to content

Commit

Permalink
address
Browse files Browse the repository at this point in the history
  • Loading branch information
wenpen committed May 17, 2024
1 parent 9ae5d1f commit f726860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/lib/CIR/CodeGen/CIRGenStmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ mlir::LogicalResult CIRGenFunction::buildReturnStmt(const ReturnStmt &S) {
assert(!UnimplementedFeature::requiresReturnValueCheck());
auto loc = getLoc(S.getSourceRange());

// TODO: Rewrite the logic to handle ReturnStmt inside SwitchStmt, then
// clean up the code below.
// TODO(cir): Rewrite the logic to handle ReturnStmt inside SwitchStmt, then
// clean up the code below.
if (currLexScope->IsInsideCaseNoneStmt)
return mlir::success();

Expand Down

0 comments on commit f726860

Please sign in to comment.