Skip to content

Commit a2758b7

Browse files
committed
Fix a comment.
1 parent 30ccb52 commit a2758b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Sema/BuilderTransform.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,8 @@ BraceStmt *swift::applyFunctionBuilderTransform(
13871387
captured.first, captured.second)));
13881388
}
13891389

1390-
/// Produce any additional syntactic diagnostics for the body of a
1390+
/// Produce any additional syntactic diagnostics for the body of a function
1391+
/// that had a function builder applied.
13911392
static void performAddOnDiagnostics(BraceStmt *stmt, DeclContext *dc) {
13921393
class AddOnDiagnosticWalker : public ASTWalker {
13931394
SmallVector<DeclContext *, 4> dcStack;

0 commit comments

Comments
 (0)