Skip to content

Commit

Permalink
[NFC][clang] Avoid unnecessary assignment (#100728)
Browse files Browse the repository at this point in the history
`IsStartOfLine` is set to false at the end of the loop.
  • Loading branch information
Fznamznon authored Jul 26, 2024
1 parent c9c91f5 commit bfa0cae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clang/lib/Frontend/PrintPreprocessedOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,6 @@ static void PrintPreprocessedTokens(Preprocessor &PP, Token &Tok,
*Callbacks->OS << static_cast<unsigned>(*Iter);
PrintComma = true;
}
IsStartOfLine = true;
} else if (Tok.isAnnotation()) {
// Ignore annotation tokens created by pragmas - the pragmas themselves
// will be reproduced in the preprocessed output.
Expand Down

0 comments on commit bfa0cae

Please sign in to comment.