Skip to content

Commit be9e6aa

Browse files
yronglinshafik
andcommitted
Address comments
Co-authored-by: Shafik Yaghmour <[email protected]>
1 parent 51ba9cb commit be9e6aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Parse/ParseStmt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,10 +2161,10 @@ StmtResult Parser::ParseForStatement(SourceLocation *TrailingElseLoc) {
21612161
SourceLocation SecondPartStart = Tok.getLocation();
21622162
Sema::ConditionKind CK = Sema::ConditionKind::Boolean;
21632163
SecondPart = ParseCXXCondition(
2164-
nullptr, ForLoc, CK,
2164+
/*InitStmt=*/nullptr, ForLoc, CK,
21652165
// FIXME: recovery if we don't see another semi!
21662166
/*MissingOK=*/true, MightBeForRangeStmt ? &ForRangeInfo : nullptr,
2167-
/*EnterForConditionScope*/ true);
2167+
/*EnterForConditionScope=*/true);
21682168

21692169
if (ForRangeInfo.ParsedForRangeDecl()) {
21702170
Diag(FirstPart.get() ? FirstPart.get()->getBeginLoc()

0 commit comments

Comments
 (0)