Skip to content

Commit bfa0cae

Browse files
authored
[NFC][clang] Avoid unnecessary assignment (llvm#100728)
`IsStartOfLine` is set to false at the end of the loop.
1 parent c9c91f5 commit bfa0cae

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/Frontend/PrintPreprocessedOutput.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,6 @@ static void PrintPreprocessedTokens(Preprocessor &PP, Token &Tok,
980980
*Callbacks->OS << static_cast<unsigned>(*Iter);
981981
PrintComma = true;
982982
}
983-
IsStartOfLine = true;
984983
} else if (Tok.isAnnotation()) {
985984
// Ignore annotation tokens created by pragmas - the pragmas themselves
986985
// will be reproduced in the preprocessed output.

0 commit comments

Comments
 (0)