[clang] [clang-repl] Address error recovery fixing infinite loop while parsing (PR #127569)
Anutosh Bhat via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 11 03:01:50 PST 2026
anutosh491 wrote:
Thanks for the review here @vgvassilev
I think I've framed the test file correctly but the CI shows me
```
FAIL: Clang :: Interpreter/repl-input-end-recovery.cpp (23865 of 23865)
******************** TEST 'Clang :: Interpreter/repl-input-end-recovery.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/repl-input-end-recovery.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl -Xcc -Xclang -Xcc -verify -Xcc -Xclang -Xcc -verify-ignore-unexpected | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/repl-input-end-recovery.cpp
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/repl-input-end-recovery.cpp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl -Xcc -Xclang -Xcc -verify -Xcc -Xclang -Xcc -verify-ignore-unexpected
# .---command stderr------------
# | error: Parsing failed.
# | error: Parsing failed.
# | error: Parsing failed.
# | error: Parsing failed.
# | error: 'expected-error' diagnostics expected but not seen:
# | File Line 1: expected '}'
# | File Line 1: expected '}'
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/repl-input-end-recovery.cpp
# note: command had no output on stdout or stderr
--
********************
```
Am I missing something obvious here !?
https://github.com/llvm/llvm-project/pull/127569
More information about the cfe-commits
mailing list