Fix raw lex crash and -frewrite-includes noeol-at-eof failure
Raw lexers don't have a preprocessor so we need to null check. llvm-svn: 197245
Showing
- clang/lib/Lex/Lexer.cpp 2 additions, 1 deletionclang/lib/Lex/Lexer.cpp
- clang/lib/Rewrite/Frontend/InclusionRewriter.cpp 5 additions, 5 deletionsclang/lib/Rewrite/Frontend/InclusionRewriter.cpp
- clang/test/Frontend/rewrite-includes-eof.c 4 additions, 0 deletionsclang/test/Frontend/rewrite-includes-eof.c
Loading
Please register or sign in to comment