[PATCH] D48786: [Preprocessor] Stop entering included files after hitting a fatal error.
Jan Korous via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 18 02:20:55 PDT 2018
jkorous added a reviewer: jkorous.
jkorous added inline comments.
================
Comment at: clang/lib/Lex/PPDirectives.cpp:1875
+ // Stop further preprocessing if a fatal error has occurred. Any diagnostics
+ // we might have raised will not be visible.
+ if (ShouldEnter && Diags->hasFatalErrorOccurred())
----------------
I am not sure I understand this - does that mean that we are not displaying diagnostics that were produced before "now"?
https://reviews.llvm.org/D48786
More information about the cfe-commits
mailing list