[clang] [clang-repl] Fix error recovery while PTU cleanup (PR #127467)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 11 01:29:16 PDT 2025


================
@@ -1,7 +1,8 @@
 // REQUIRES: host-supports-jit
 // UNSUPPORTED: system-aix
 // RUN: cat %s | clang-repl | FileCheck %s
-// RUN: cat %s | clang-repl -Xcc -O2 | FileCheck %s
+// RUN: cat %s | not clang-repl -Xcc -Xclang -Xcc -verify -Xcc -O2 | FileCheck %s
----------------
vgvassilev wrote:

We should not need a `not` here. You can probably avoid it by adding a correct C++ code before calling `quit`.

https://github.com/llvm/llvm-project/pull/127467


More information about the cfe-commits mailing list