[clang] [clang-repl] Undo the enumerators of an unscoped enumeration (PR #228370)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 03:40:13 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 56750 tests passed
* 1698 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.Interpreter/code-undo-enumerators.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
cat C:\_work\llvm-project\llvm-project\clang\test\Interpreter\code-undo-enumerators.cpp | c:\_work\llvm-project\llvm-project\build\bin\clang-repl.exe | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Interpreter\code-undo-enumerators.cpp
# executed command: cat 'C:\_work\llvm-project\llvm-project\clang\test\Interpreter\code-undo-enumerators.cpp'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang-repl.exe'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Interpreter\code-undo-enumerators.cpp'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\Interpreter\code-undo-enumerators.cpp:17:16: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: (E2) (Blue) : unsigned int 7
# |                ^
# | <stdin>:1:8: note: scanning from here
# | (int) 5
# |        ^
# | <stdin>:2:1: note: possible intended match here
# | (E2) (Blue) : int 7
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Interpreter\code-undo-enumerators.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: (int) 5 
# | next:17'0           {   search range start (exclusive)
# | next:17'1               error: no match found in search range
# |            2: (E2) (Blue) : int 7 
# | next:17'2     ?                     possible intended match
# |            3: (int) 8 
# |            4: clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl>  
# | next:17'3                                                                                                                                                                                                                                                                                                                  } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the cfe-commits mailing list