Skip to content

Commit 7612dcc

Browse files
committed
[clang] NFC, add a "continue" bailout in the for-loop of
DeclareImplicitDeductionGuidesForTypeAlias. This improves the code readability.
1 parent 44aa618 commit 7612dcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Sema/SemaTemplateDeductionGuide.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,7 @@ void DeclareImplicitDeductionGuidesForTypeAlias(
12461246
Constraint = Conjunction.getAs<Expr>();
12471247
}
12481248
Transformed->setTrailingRequiresClause(Constraint);
1249+
continue;
12491250
}
12501251
FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(G);
12511252
if (!F)

0 commit comments

Comments
 (0)