When using a PTHLexer, use DiscardToEndOfLine() instead of ReadToEndOfLine().
llvm-svn: 59668
Showing
- clang/include/clang/Lex/PTHLexer.h 4 additions, 0 deletionsclang/include/clang/Lex/PTHLexer.h
- clang/lib/Lex/PPDirectives.cpp 9 additions, 4 deletionsclang/lib/Lex/PPDirectives.cpp
- clang/lib/Lex/PPMacroExpansion.cpp 1 addition, 1 deletionclang/lib/Lex/PPMacroExpansion.cpp
- clang/lib/Lex/PTHLexer.cpp 7 additions, 0 deletionsclang/lib/Lex/PTHLexer.cpp
- clang/lib/Lex/Pragma.cpp 3 additions, 2 deletionsclang/lib/Lex/Pragma.cpp
Loading
Please register or sign in to comment