Skip to content

Commit b2f50b4

Browse files
committed
[clang-format][NFC] Use UnwrappedLineParser::eof() for consistency
1 parent f9632ce commit b2f50b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Format/UnwrappedLineParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ void UnwrappedLineParser::parse() {
213213
}
214214

215215
// Create line with eof token.
216-
assert(FormatTok->is(tok::eof));
216+
assert(eof());
217217
pushToken(FormatTok);
218218
addUnwrappedLine();
219219

0 commit comments

Comments
 (0)