[clang] [APINotes] Diagnose invalid Where.Parameters selectors (PR #209408)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 14 02:41:36 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 55755 tests passed
* 1383 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.APINotes/objc-forward-declarations.m</summary>
```
Exit Code: 3221225501
Command Output (stdout):
--
# RUN: at line 1
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\test\APINotes\Output\objc-forward-declarations.m.tmp && mkdir -p C:\_work\llvm-project\llvm-project\build\tools\clang\test\APINotes\Output\objc-forward-declarations.m.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\APINotes\Output\objc-forward-declarations.m.tmp'
# note: command had no output on stdout or stderr
# executed command: mkdir -p 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\APINotes\Output\objc-forward-declarations.m.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\23\include -nostdsysteminc -fmodules -fimplicit-module-maps -fmodules-cache-path=C:\_work\llvm-project\llvm-project\build\tools\clang\test\APINotes\Output\objc-forward-declarations.m.tmp/ModulesCache -fapinotes-modules -fsyntax-only -F C:\_work\llvm-project\llvm-project\clang\test\APINotes/Inputs/Frameworks C:\_work\llvm-project\llvm-project\clang\test\APINotes\objc-forward-declarations.m -verify
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -fmodules -fimplicit-module-maps '-fmodules-cache-path=C:\_work\llvm-project\llvm-project\build\tools\clang\test\APINotes\Output\objc-forward-declarations.m.tmp/ModulesCache' -fapinotes-modules -fsyntax-only -F 'C:\_work\llvm-project\llvm-project\clang\test\APINotes/Inputs/Frameworks' 'C:\_work\llvm-project\llvm-project\clang\test\APINotes\objc-forward-declarations.m' -verify
# .---command stderr------------
# | Assertion failed: !llvm::is_contained(getLookupResult(), D) && "Already exists!", file C:\_work\llvm-project\llvm-project\clang\include\clang/AST/DeclContextInternals.h, line 248
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0. C:\_work\llvm-project\llvm-project\clang\test\APINotes/Inputs/Frameworks\LayeredKit.framework\Headers\LayeredKit.h:11:1: current parser token '@'
# | Exception Code: 0xC000001D
# | #0 0x00007ff748c47376 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x867376)
# | #1 0x00007ffe7d8fbb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# | #2 0x00007ffe7d8fcad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# | #3 0x00007ffe7d8fe4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# | #4 0x00007ffe7d8fe6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# | #5 0x00007ff74acdb029 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x28fb029)
# | #6 0x00007ff74acd9b13 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x28f9b13)
# | #7 0x00007ff74acd9427 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x28f9427)
# | #8 0x00007ff74d7e50dc (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x54050dc)
# | #9 0x00007ff74dc99c8d (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x58b9c8d)
# | #10 0x00007ff74f53f5df (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x715f5df)
# | #11 0x00007ff74f53d559 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x715d559)
# | #12 0x00007ff74f251d9d (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6e71d9d)
# | #13 0x00007ff74f24fd70 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6e6fd70)
# | #14 0x00007ff74e1985fe (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x5db85fe)
# | #15 0x00007ff74b1f51af (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2e151af)
# | #16 0x00007ff748d931a0 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9b31a0)
# | #17 0x00007ff748da50c2 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9c50c2)
# | #18 0x00007ff748c42ba8 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x862ba8)
# | #19 0x00007ff748c42c2e (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x862c2e)
# | #20 0x00007ffe7d8a6b4c (C:\Windows\System32\ucrtbase.dll+0x26b4c)
# | #21 0x00007ffe812f4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #22 0x00007ffe8e2dedcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
--
```
</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/209408
More information about the cfe-commits
mailing list