Skip to content

Commit 7a61b3c

Browse files
committed
address
1 parent 9ae5d1f commit 7a61b3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/lib/CIR/CodeGen/CIRGenStmt.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ mlir::LogicalResult CIRGenFunction::buildLabelStmt(const clang::LabelStmt &S) {
328328
// IsEHa: not implemented.
329329
assert(!(getContext().getLangOpts().EHAsynch && S.isSideEntry()));
330330

331-
// TODO: After support case stmt crossing scopes, we should build LabelStmt
332-
// and clean LexicalScope::IsInsideCaseNoneStmt.
331+
// TODO(cir): After support case stmt crossing scopes, we should build
332+
// LabelStmt and clean LexicalScope::IsInsideCaseNoneStmt.
333333
for (auto *lexScope = currLexScope; lexScope;
334334
lexScope = lexScope->getParentScope()) {
335335
assert(!lexScope->IsInsideCaseNoneStmt &&
@@ -467,8 +467,8 @@ mlir::LogicalResult CIRGenFunction::buildReturnStmt(const ReturnStmt &S) {
467467
assert(!UnimplementedFeature::requiresReturnValueCheck());
468468
auto loc = getLoc(S.getSourceRange());
469469

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

0 commit comments

Comments
 (0)