llvm-project
f33fb0d7 - [clang] Don't fail `ExecuteCompilerInvocation()` due to caller errors (#158695)

Commit
223 days ago
[clang] Don't fail `ExecuteCompilerInvocation()` due to caller errors (#158695) This PR changes the behavior of `clang::ExecuteCompilerInvocation()` so that it only returns early when the `DiagnosticsEngine` emitted errors **within** the function. Handling errors emitted before the function got called is a responsibility of the caller. Necessary for #158381.
Author
Parents
Loading