[PATCH] D142196: [clang][Lex] Add back PPCallbacks::FileNotFound
Jonas Hahnfeld via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 24 09:51:05 PST 2023
Hahnfeld added a comment.
In D142196#4077708 <https://reviews.llvm.org/D142196#4077708>, @jansvoboda11 wrote:
> Yes, I meant the `pp-trace` docs. Why would "we didn't find the included file" not be a traceable event?
My thinking is the following: If the preprocessor cannot find the included file and the Hook doesn't return `true`, it will run into a fatal error and stop parsing the source file. I don't know if that's actually a relevant case, but I have no experience with `pp-trace`, so maybe?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142196/new/
https://reviews.llvm.org/D142196
More information about the cfe-commits
mailing list