[clang] [clang-repl] Stop interpreter init on action failure (PR #217147)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 22 18:02:42 PDT 2026
================
@@ -349,7 +349,13 @@ Interpreter::Interpreter(std::unique_ptr<CompilerInstance> Instance,
if (ErrOut)
return;
- CI->ExecuteAction(*Act);
+ if (!CI->ExecuteAction(*Act) || CI->getDiagnostics().hasErrorOccurred()) {
----------------
aokblast wrote:
I am wondering if it should also be fixed in the Cuda side.
https://github.com/llvm/llvm-project/pull/217147
More information about the cfe-commits
mailing list