diff options
Diffstat (limited to 'clang/lib/Lex/Lexer.cpp')
-rw-r--r-- | clang/lib/Lex/Lexer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp index 40c63874661..db53e6bec04 100644 --- a/clang/lib/Lex/Lexer.cpp +++ b/clang/lib/Lex/Lexer.cpp @@ -687,7 +687,6 @@ PreambleBounds Lexer::ComputePreamble(StringRef Buffer, // We only end up here if we didn't recognize the preprocessor // directive or it was one that can't occur in the preamble at this // point. Roll back the current token to the location of the '#'. - InPreprocessorDirective = false; TheTok = HashTok; } @@ -3232,7 +3231,7 @@ LexNextToken: case '\r': if (CurPtr[0] == '\n') - Char = getAndAdvanceChar(CurPtr, Result); + (void)getAndAdvanceChar(CurPtr, Result); LLVM_FALLTHROUGH; case '\n': // If we are inside a preprocessor directive and we see the end of line, |