Skip to content

Commit

Permalink
[clang-format][NFC] Use UnwrappedLineParser::eof() for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
owenca committed Oct 19, 2023
1 parent f9632ce commit b2f50b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Format/UnwrappedLineParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ void UnwrappedLineParser::parse() {
}

// Create line with eof token.
assert(FormatTok->is(tok::eof));
assert(eof());
pushToken(FormatTok);
addUnwrappedLine();

Expand Down

0 comments on commit b2f50b4

Please sign in to comment.