llvm-project
112291ad - [clang][lex] Fix lexing malformed pragma within include directive (#138165)

Commit
148 days ago
[clang][lex] Fix lexing malformed pragma within include directive (#138165) this patch fixes a crash triggered by lexing past eof when emitting a diagnostic for a malformed `_Pragma` directive within an `include` directive. Fixed by by preventing the lexer from eating a `tok::eod`. Fixes #138094
Author
Parents
Loading