Skip to content

Commit 8d0014d

Browse files
committed
Clarify a comment
1 parent a115ad9 commit 8d0014d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/IDE/Refactoring.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3663,7 +3663,8 @@ static CallExpr *findTrailingClosureTarget(SourceManager &SM,
36633663
if (contexts.empty())
36643664
return nullptr;
36653665

3666-
// If the innermost context is a brace statement, drop it.
3666+
// If the innermost context is a statement (which will be a BraceStmt per
3667+
// the filtering condition above), drop it.
36673668
if (contexts.back().is<Stmt *>()) {
36683669
contexts = contexts.drop_back();
36693670
}

0 commit comments

Comments
 (0)