Skip to content

Commit

Permalink
[clang] NFC, add a "continue" bailout in the for-loop of
Browse files Browse the repository at this point in the history
DeclareImplicitDeductionGuidesForTypeAlias.

This improves the code readability.
  • Loading branch information
hokein committed Feb 1, 2025
1 parent 44aa618 commit 7612dcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Sema/SemaTemplateDeductionGuide.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,7 @@ void DeclareImplicitDeductionGuidesForTypeAlias(
Constraint = Conjunction.getAs<Expr>();
}
Transformed->setTrailingRequiresClause(Constraint);
continue;
}
FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(G);
if (!F)
Expand Down

0 comments on commit 7612dcc

Please sign in to comment.