Skip to content

Commit 64dba97

Browse files
authored
[NFC] Fix an inaccurate comment about typo-correction. (#108143)
The comment describes "If the identifier was typo-corrected", but it doesn't need to have been typo-corrected, just being annotated is enough to retry.
1 parent c0b3e49 commit 64dba97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Parse/ParseStmt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ StmtResult Parser::ParseStatementOrDeclarationAfterAttributes(
228228
return StmtError();
229229
}
230230

231-
// If the identifier was typo-corrected, try again.
231+
// If the identifier was annotated, try again.
232232
if (Tok.isNot(tok::identifier))
233233
goto Retry;
234234
}

0 commit comments

Comments
 (0)