Skip to content

Commit 455357f

Browse files
hokeingithub-actions[bot]
authored andcommitted
Automerge: [clang] NFC, add a "continue" bailout in the for-loop of
DeclareImplicitDeductionGuidesForTypeAlias. This improves the code readability.
2 parents 9530072 + 7612dcc commit 455357f

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)