[clang] [Clang] Properly parse enumeration declarations with fixed underlying type in generic associations (PR #210353)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 4 08:45:53 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 56324 tests passed
* 1553 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Modules/submodules-merge-defs.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -x c++ -std=c++11 -fmodules-cache-path=C:\_work\llvm-project\llvm-project\build\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp -fmodules -fimplicit-module-maps -I C:\_work\llvm-project\llvm-project\clang\test\Modules/Inputs/submodules-merge-defs C:\_work\llvm-project\llvm-project\clang\test\Modules\submodules-merge-defs.cpp -verify -fno-modules-error-recovery -DTEXTUAL
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -x c++ -std=c++11 '-fmodules-cache-path=C:\_work\llvm-project\llvm-project\build\tools\clang\test\Modules\Output\submodules-merge-defs.cpp.tmp' -fmodules -fimplicit-module-maps -I 'C:\_work\llvm-project\llvm-project\clang\test\Modules/Inputs/submodules-merge-defs' 'C:\_work\llvm-project\llvm-project\clang\test\Modules\submodules-merge-defs.cpp' -verify -fno-modules-error-recovery -DTEXTUAL
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\Modules\submodules-merge-defs.cpp Line 73: could not build module 'redef'
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Sema/generic-selection-type-extension.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -std=c2x -fsyntax-only -verify -Wno-unused C:\_work\llvm-project\llvm-project\clang\test\Sema\generic-selection-type-extension.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -std=c2x -fsyntax-only -verify -Wno-unused 'C:\_work\llvm-project\llvm-project\clang\test\Sema\generic-selection-type-extension.c'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -fsyntax-only -verify -Wno-unused -x c++ -std=c++17 C:\_work\llvm-project\llvm-project\clang\test\Sema\generic-selection-type-extension.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -fsyntax-only -verify -Wno-unused -x c++ -std=c++17 'C:\_work\llvm-project\llvm-project\clang\test\Sema\generic-selection-type-extension.c'
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected:
# | File C:\_work\llvm-project\llvm-project\clang\test\Sema\generic-selection-type-extension.c Line 106: unexpected ':' in nested name specifier; did you mean '::'?
# | File C:\_work\llvm-project\llvm-project\clang\test\Sema\generic-selection-type-extension.c Line 106: missing 'typename' prior to dependent type name 'Ty::Ty'
# | File C:\_work\llvm-project\llvm-project\clang\test\Sema\generic-selection-type-extension.c Line 106: expected ':'
# | 3 errors generated.
# `-----------------------------
# 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/210353
More information about the cfe-commits
mailing list