[clang] [Clang][AST] Introduce `ExplicitInstantiationDecl` to preserve source info and fix diagnostic locations (PR #191658)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 11 13:09:49 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 88539 tests passed
* 786 tests skipped
* 10 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/checkers/misc/unused-using-decls.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.cpp misc-unused-using-decls /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp -- --fix-notes -- -fno-delayed-template-parsing -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/Inputs
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.cpp misc-unused-using-decls /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp -- --fix-notes -- -fno-delayed-template-parsing -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/Inputs
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp', '-fix', '--checks=-*,misc-unused-using-decls', '--fix-notes', '--config={}', '--', '-fno-delayed-template-parsing', '-isystem', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/Inputs', '-std=c++11', '-nostdinc++', '-isystem', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']...
# | ------------------------ clang-tidy output -----------------------
# | 10 warnings generated.
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:82:10: warning: using decl 'A' is unused [misc-unused-using-decls]
# | 82 | using n::A; // A
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:82:1: note: FIX-IT applied suggested code changes
# | 82 | using n::A; // A
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:82:10: note: remove the using
# | 82 | using n::A; // A
# | | ~~~~~~~~~^~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:89:10: warning: using decl 'E' is unused [misc-unused-using-decls]
# | 89 | using n::E; // E
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:89:1: note: FIX-IT applied suggested code changes
# | 89 | using n::E; // E
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:89:10: note: remove the using
# | 89 | using n::E; // E
# | | ~~~~~~~~~^~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:104:10: warning: using decl 'UnusedInstance' is unused [misc-unused-using-decls]
# | 104 | using n::UnusedInstance; // UnusedInstance
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:104:1: note: FIX-IT applied suggested code changes
# | 104 | using n::UnusedInstance; // UnusedInstance
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:104:10: note: remove the using
# | 104 | using n::UnusedInstance; // UnusedInstance
# | | ~~~~~~~~~^~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:107:10: warning: using decl 'UnusedFunc' is unused [misc-unused-using-decls]
# | 107 | using n::UnusedFunc; // UnusedFunc
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:107:1: note: FIX-IT applied suggested code changes
# | 107 | using n::UnusedFunc; // UnusedFunc
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:107:10: note: remove the using
# | 107 | using n::UnusedFunc; // UnusedFunc
# | | ~~~~~~~~~^~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:121:10: warning: using decl 'OverloadFunc' is unused [misc-unused-using-decls]
# | 121 | using n::OverloadFunc; // OverloadFunc
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:121:1: note: FIX-IT applied suggested code changes
# | 121 | using n::OverloadFunc; // OverloadFunc
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:121:10: note: remove the using
# | 121 | using n::OverloadFunc; // OverloadFunc
# | | ~~~~~~~~~^~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:156:10: warning: using decl 'Color1' is unused [misc-unused-using-decls]
# | 156 | using n::Color1;
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:156:1: note: FIX-IT applied suggested code changes
# | 156 | using n::Color1;
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:156:10: note: remove the using
# | 156 | using n::Color1;
# | | ~~~~~~~~~^~~~~~~
# | 157 | //
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:158:10: warning: using decl 'Green' is unused [misc-unused-using-decls]
# | 158 | using n::Green;
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:158:1: note: FIX-IT applied suggested code changes
# | 158 | using n::Green;
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:158:10: note: remove the using
# | clang-tidy applied 7 of 7 suggested fixes.
# | 158 | using n::Green;
# | | ~~~~~~~~~^~~~~~
# | 159 | //
# | Suppressed 3 warnings (3 with check filters).
# |
# | ------------------------------------------------------------------
# | diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.orig /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp failed:
# | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.orig 2026-04-11 19:46:07.023111096 +0000
# | +++ /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp 2026-04-11 19:46:07.047111071 +0000
# | @@ -79,14 +79,14 @@
# |
# | // ----- Using declarations -----
# | // eol-comments aren't removed (yet)
# | -using n::A; // A
# | +// A
# | //
# | //
# | //
# | using n::B;
# | using n::C;
# | using n::D;
# | -using n::E; // E
# | +// E
# | //
# | //
# | using n::F;
# | @@ -101,10 +101,10 @@
# | using n::UsedInstance;
# | using n::UsedFunc;
# | using n::UsedTemplateFunc;
# | -using n::UnusedInstance; // UnusedInstance
# | +// UnusedInstance
# | //
# | //
# | -using n::UnusedFunc; // UnusedFunc
# | +// UnusedFunc
# | //
# | //
# | using n::operator""_w;
# | @@ -118,7 +118,7 @@
# | UsedInTemplateFunc<T>();
# | }
# |
# | -using n::OverloadFunc; // OverloadFunc
# | +// OverloadFunc
# | //
# | //
# |
# | @@ -153,9 +153,7 @@
# | using n::H;
# | }
# |
# | -using n::Color1;
# | //
# | -using n::Green;
# | //
# | using n::Color2;
# | using n::Color3;
# |
# | ------------------------------ Fixes -----------------------------
# | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.orig 2026-04-11 19:46:07.023111096 +0000
# | +++ /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp 2026-04-11 19:46:07.047111071 +0000
# | @@ -79,14 +79,14 @@
# |
# | // ----- Using declarations -----
# | // eol-comments aren't removed (yet)
# | -using n::A; // A
# | +// A
# | //
# | //
# | //
# | using n::B;
# | using n::C;
# | using n::D;
# | -using n::E; // E
# | +// E
# | //
# | //
# | using n::F;
# | @@ -101,10 +101,10 @@
# | using n::UsedInstance;
# | using n::UsedFunc;
# | using n::UsedTemplateFunc;
# | -using n::UnusedInstance; // UnusedInstance
# | +// UnusedInstance
# | //
# | //
# | -using n::UnusedFunc; // UnusedFunc
# | +// UnusedFunc
# | //
# | //
# | using n::operator""_w;
# | @@ -118,7 +118,7 @@
# | UsedInTemplateFunc<T>();
# | }
# |
# | -using n::OverloadFunc; // OverloadFunc
# | +// OverloadFunc
# | //
# | //
# |
# | @@ -153,9 +153,7 @@
# | using n::H;
# | }
# |
# | -using n::Color1;
# | //
# | -using n::Green;
# | //
# | using n::Color2;
# | using n::Color3;
# |
# | ------------------------------------------------------------------
# | FileCheck -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp.msg /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.cpp -check-prefixes=CHECK-MESSAGES -implicit-check-not={{warning|error}}: failed:
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.cpp:173:20: error: CHECK-MESSAGES: expected string not found in input
# | // CHECK-MESSAGES: :[[@LINE-1]]:10: warning: using decl 'Constant' is unused
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp.msg:57:201: note: scanning from here
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:158:10: warning: using decl 'Green' is unused [misc-unused-using-decls]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp.msg:57:201: note: with "@LINE-1" equal to "172"
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:158:10: warning: using decl 'Green' is unused [misc-unused-using-decls]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp.msg:63:158: note: possible intended match here
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:158:10: note: remove the using
# | ^
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp.msg
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 52: | ^
# | 53: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:156:10: note: remove the using
# | 54: 156 | using n::Color1;
# | 55: | ~~~~~~~~~^~~~~~~
# | 56: 157 | //
# | 57: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:158:10: warning: using decl 'Green' is unused [misc-unused-using-decls]
# | check:173'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:173'1 with "@LINE-1" equal to "172"
# | 58: 158 | using n::Green;
# | check:173'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 59: | ^
# | check:173'0 ~~~~~
# | 60: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:158:1: note: FIX-IT applied suggested code changes
# | check:173'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 61: 158 | using n::Green;
# | check:173'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 62: | ^
# | check:173'0 ~~~~~
# | 63: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp:158:10: note: remove the using
# | check:173'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:173'2 ? possible intended match
# | 64: clang-tidy applied 7 of 7 suggested fixes.
# | check:173'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 65: 158 | using n::Green;
# | check:173'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 66: | ~~~~~~~~~^~~~~~
# | check:173'0 ~~~~~~~~~~~~~~~~~~~
# | 67: 159 | //
# | check:173'0 ~~~~~~~~~~
# | 68: Suppressed 3 warnings (3 with check filters).
# | check:173'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 554, in <module>
# | main()
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 550, in main
# | CheckRunner(args, extra_args).run()
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 433, in run
# | self.check_messages(main_output)
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 358, in check_messages
# | try_run(
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 64, in try_run
# | process_output = subprocess.check_output(args, stderr=subprocess.STDOUT).decode(
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.12/subprocess.py", line 571, in run
# | raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['FileCheck', '-input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/unused-using-decls.cpp.tmp.cpp.msg', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.cpp', '-check-prefixes=CHECK-MESSAGES', '-implicit-check-not={{warning|error}}:']' returned non-zero exit status 1.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang Tools.clang-tidy/checkers/modernize/avoid-c-arrays.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py -std=c++17 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/avoid-c-arrays.cpp modernize-avoid-c-arrays /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py -std=c++17 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/avoid-c-arrays.cpp modernize-avoid-c-arrays /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp', '-fix', '--checks=-*,modernize-avoid-c-arrays', '--config={}', '--', '-std=c++17', '-nostdinc++', '-isystem', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']...
# | ------------------------ clang-tidy output -----------------------
# | 92 warnings generated.
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:5:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 5 | int a[] = {1, 2};
# | | ^~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:8:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 8 | int b[1];
# | | ^~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:12:3: warning: do not declare C VLA arrays, use 'std::vector' instead [modernize-avoid-c-arrays]
# | 12 | int c[b[0]];
# | | ^~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:24:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 24 | T d[Size];
# | | ^~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:27:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 27 | int e[1];
# | | ^~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:31:7: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 31 | array<int[4], 2> d;
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:34:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 34 | using k = int[4];
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:50:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 50 | int e[1];
# | | ^~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:54:12: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 54 | unique_ptr<int[]> d2;
# | | ^~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:57:12: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 57 | using k2 = int[];
# | | ^~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:76:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 76 | int f3[] = {1, 2};
# | | ^~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:79:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 79 | int j3[1];
# | | ^~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:83:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 83 | int f3[3] = {1, 2};
# | | ^~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:86:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 86 | int j3[1];
# | | ^~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:99:7: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 99 | const char name[] = "Some string";
# | | ^~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:102:26: warning: do not declare C-style arrays, use 'std::array' or 'std::vector' instead [modernize-avoid-c-arrays]
# | 102 | void takeCharArray(const char name[]);
# | | ^~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:122:38: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 122 | bool = std::is_same_v<U, int[]>,
# | | ^~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:124:36: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 124 | bool = std::is_same<U, int[10]>::value,
# | | ^~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:126:73: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 126 | std::enable_if_t<not(std::is_same_v<std::remove_const_t<U>, int[]>) && not(std::is_same_v<typename std::remove_const<U>::type, char[10]>), bool> = true,
# | | ^~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:126:140: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 126 | std::enable_if_t<not(std::is_same_v<std::remove_const_t<U>, int[]>) && not(std::is_same_v<typename std::remove_const<U>::type, char[10]>), bool> = true,
# | | ^~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:129:51: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 129 | typename = typename std::remove_const<int[10]>::type,
# | | ^~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:131:44: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 131 | typename = std::remove_const_t<int[]>>
# | | ^~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:137:7: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 137 | U field[3];
# | | ^~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:144:5: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 144 | T field[7];
# | | ^~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:150:23: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 150 | class MyClassTemplate<int[2]>;
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:153:21: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 153 | using MyArrayType = int[3];
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:175:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 175 | int array1[1];
# | | ^~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:178:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 178 | T array2[2];
# | | ^~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:185:24: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 185 | template <typename T = int[],
# | | ^~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:187:36: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 187 | bool = std::is_same_v<T, int[]>,
# | | ^~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:189:34: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 189 | bool = std::is_same<T, int[10]>::value,
# | | ^~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:191:71: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 191 | std::enable_if_t<not(std::is_same_v<std::remove_const_t<T>, int[]>) && not(std::is_same_v<typename std::remove_const<T>::type, char[10]>), bool> = true,
# | | ^~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:191:138: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 191 | std::enable_if_t<not(std::is_same_v<std::remove_const_t<T>, int[]>) && not(std::is_same_v<typename std::remove_const<T>::type, char[10]>), bool> = true,
# | | ^~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:194:49: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 194 | typename = typename std::remove_const<int[10]>::type,
# | | ^~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:196:42: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 196 | typename = std::remove_const_t<int[]>>
# | | ^~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:199:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 199 | int array3[3];
# | | ^~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:202:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 202 | T array4[4];
# | | ^~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:213:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 213 | int some_constant<int[5]>[5];
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:213:19: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 213 | int some_constant<int[5]>[5];
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:217:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 217 | int some_constant<decltype(ak)>[4];
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:225:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 225 | int some_constant<int[7]>[7]{};
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:225:19: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 225 | int some_constant<int[7]>[7]{};
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:230:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 230 | int some_constant<decltype(mk)>[3]{};
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:234:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 234 | int t[10];
# | | ^~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:243:8: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 243 | func<int[1]>({});
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:245:7: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 245 | fun<int[1]>({});
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:250:19: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 250 | MyClassTemplate<int[2]> var2{{}};
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:255:40: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 255 | decltype(var1)::MyInnerClassTemplate<char[5]> var5{{}};
# | | ^~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:260:54: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 260 | MyClassTemplate<decltype(t)>::MyInnerClassTemplate<char[8]> var8{{}};
# | | ^~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:262:19: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 262 | MyClassTemplate<int[9]>::MyInnerClassTemplate<char[9]> var9{{}};
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:262:49: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 262 | MyClassTemplate<int[9]>::MyInnerClassTemplate<char[9]> var9{{}};
# | | ^~~~~~~
# | Suppressed 2 warnings (2 with check filters).
# |
# | ------------------------------------------------------------------
# | ------------------------------ Fixes -----------------------------
# |
# | ------------------------------------------------------------------
# | FileCheck -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp.msg /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/avoid-c-arrays.cpp -check-prefixes=CHECK-MESSAGES -implicit-check-not={{warning|error}}: failed:
# | command line:1:22: error: IMPLICIT-CHECK-NOT: excluded string found in input
# | -implicit-check-not='{{warning|error}}:'
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp.msg:113:164: note: found here
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:213:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | ^~~~~~~~
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp.msg
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/avoid-c-arrays.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 108: 199 | int array3[3];
# | 109: | ^~~~~~~~~~~~~
# | 110: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:202:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 111: 202 | T array4[4];
# | 112: | ^~~~~~~~~~~
# | 113: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:213:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | not:imp1 !~~~~~~~ error: no match expected
# | 114: 213 | int some_constant<int[5]>[5];
# | 115: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 116: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp:213:19: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
# | 117: 213 | int some_constant<int[5]>[5];
# | 118: | ^~~~~~
# | .
# | .
# | .
# | >>>>>>
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 554, in <module>
# | main()
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 550, in main
# | CheckRunner(args, extra_args).run()
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 433, in run
# | self.check_messages(main_output)
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 358, in check_messages
# | try_run(
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 64, in try_run
# | process_output = subprocess.check_output(args, stderr=subprocess.STDOUT).decode(
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.12/subprocess.py", line 571, in run
# | raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['FileCheck', '-input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/modernize/Output/avoid-c-arrays.cpp.tmp.cpp.msg', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/avoid-c-arrays.cpp', '-check-prefixes=CHECK-MESSAGES', '-implicit-check-not={{warning|error}}:']' returned non-zero exit status 1.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### Clang
<details>
<summary>Clang.CodeGenCXX/dllexport.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -no-enable-noundef-analysis -triple i686-windows-msvc -emit-llvm -std=c++1y -fno-threadsafe-statics -fms-extensions -O1 -mconstructor-aliases -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllexport.cpp -w -fms-compatibility-version=19.00 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -allow-deprecated-dag-overlap --check-prefix=MSC --check-prefix=M32 -check-prefix=MSVC2015 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllexport.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -no-enable-noundef-analysis -triple i686-windows-msvc -emit-llvm -std=c++1y -fno-threadsafe-statics -fms-extensions -O1 -mconstructor-aliases -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllexport.cpp -w -fms-compatibility-version=19.00
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/DeclTemplate.h:3473: clang::ExplicitInstantiationDecl::ExplicitInstantiationDecl(DeclContext *, SourceRange, NamedDecl *, SourceLocation, SourceLocation, SourceLocation, NestedNameSpecifierLoc, const ASTTemplateArgumentListInfo *, SourceLocation, TypeSourceInfo *, TemplateSpecializationKind): Assertion `(TSK == TSK_ExplicitInstantiationDeclaration) == ExternLoc.isValid() && "ExternLoc should be valid iff TSK is a declaration"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -no-enable-noundef-analysis -triple i686-windows-msvc -emit-llvm -std=c++1y -fno-threadsafe-statics -fms-extensions -O1 -mconstructor-aliases -disable-llvm-passes -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllexport.cpp -w -fms-compatibility-version=19.00
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllexport.cpp:989:80: current parser token ';'
# | #0 0x000000000a0a2918 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x000000000a09f881 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a0a3731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8
# | #4 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2117:14
# | #5 0x000000000a0a3588 find<const int *, int> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:3897:14
# | #6 0x000000000a0a3588 is_contained<const int (&)[10], int> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1953:12
# | #7 0x000000000a0a3588 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:464:7
# | #8 0x00007c99ee3c3330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #9 0x00007c99ee41cb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #10 0x00007c99ee3c327e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #11 0x00007c99ee3a68ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #12 0x00007c99ee3a681b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #13 0x00007c99ee3b9517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #14 0x000000000ea2b28f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xea2b28f)
# | #15 0x000000000e3764b7 addExplicitInstantiationDecl /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:9333:15
# | #16 0x000000000e3764b7 clang::Sema::ActOnExplicitInstantiation(clang::Scope*, clang::SourceLocation, clang::SourceLocation, unsigned int, clang::SourceLocation, clang::CXXScopeSpec const&, clang::OpaquePtr<clang::TemplateName>, clang::SourceLocation, clang::SourceLocation, llvm::MutableArrayRef<clang::ParsedTemplateArgument>, clang::SourceLocation, clang::ParsedAttributesView const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:0:0
# | #17 0x000000000db5b999 clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:1995:33
# | #18 0x000000000db80ec7 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46
# | #19 0x000000000db80ec7 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:822:40
# | #20 0x000000000db80ec7 clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:4491:23
# | #21 0x000000000dbb1138 is /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Lex/Token.h:104:49
# | #22 0x000000000dbb1138 clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:204:11
# | #23 0x000000000dbafd34 clang::Parser::ParseExplicitInstantiation(clang::DeclaratorContext, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:1424:10
# | #24 0x000000000dbafbd3 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #25 0x000000000dbafbd3 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:36:25
# | #26 0x000000000db7b1a4 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #27 0x000000000db7b1a4 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:1881:25
# | #28 0x000000000db0d6e9 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0
# | #29 0x000000000db0be70 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10
# | #30 0x000000000db0062e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #31 0x000000000af5b2e6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #32 0x000000000aebb0ed getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #33 0x000000000aebb0ed operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #34 0x000000000aebb0ed clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23
# | #35 0x000000000b053a94 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #36 0x000000000b053a94 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #37 0x000000000b053a94 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #38 0x000000000b053a94 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12
# | #39 0x000000000b053a94 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
# | #40 0x0000000007223b15 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15
# | #41 0x000000000721f8f5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
# | #42 0x000000000721e8c0 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:277:12
# | #43 0x000000000722fe5d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #44 0x00007c99ee3a81ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #45 0x00007c99ee3a828b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #46 0x000000000721d265 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x721d265)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -allow-deprecated-dag-overlap --check-prefix=MSC --check-prefix=M32 -check-prefix=MSVC2015 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllexport.cpp
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -allow-deprecated-dag-overlap --check-prefix=MSC --check-prefix=M32 -check-prefix=MSVC2015 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllexport.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.CodeGenCXX/dllimport-members.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -no-enable-noundef-analysis -disable-llvm-passes -triple i686-windows-msvc -fms-compatibility -emit-llvm -std=c++1y -O0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp -DMSABI | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=MSC --check-prefix=M32 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -no-enable-noundef-analysis -disable-llvm-passes -triple i686-windows-msvc -fms-compatibility -emit-llvm -std=c++1y -O0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp -DMSABI
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:223:28: warning: 'ImportMembers::normalDef' redeclared without 'dllimport' attribute: 'dllexport' attribute added [-Winconsistent-dllimport]
# | 223 | void ImportMembers::normalDef() {} // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:103:45: note: previous declaration is here
# | 103 | __declspec(dllimport) void normalDef(); // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:226:28: warning: 'ImportMembers::virtualDef' redeclared without 'dllimport' attribute: 'dllexport' attribute added [-Winconsistent-dllimport]
# | 226 | void ImportMembers::virtualDef() {} // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:143:45: note: previous declaration is here
# | 143 | __declspec(dllimport) virtual void virtualDef(); // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:229:28: warning: 'ImportMembers::staticDef' redeclared without 'dllimport' attribute: 'dllexport' attribute added [-Winconsistent-dllimport]
# | 229 | void ImportMembers::staticDef() {} // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:168:45: note: previous declaration is here
# | 168 | __declspec(dllimport) static void staticDef(); // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:418:36: warning: 'ImportMembers::Nested::normalDef' redeclared without 'dllimport' attribute: 'dllexport' attribute added [-Winconsistent-dllimport]
# | 418 | void ImportMembers::Nested::normalDef() {} // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:297:45: note: previous declaration is here
# | 297 | __declspec(dllimport) void normalDef(); // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:421:36: warning: 'ImportMembers::Nested::virtualDef' redeclared without 'dllimport' attribute: 'dllexport' attribute added [-Winconsistent-dllimport]
# | 421 | void ImportMembers::Nested::virtualDef() {} // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:338:45: note: previous declaration is here
# | 338 | __declspec(dllimport) virtual void virtualDef(); // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:424:36: warning: 'ImportMembers::Nested::staticDef' redeclared without 'dllimport' attribute: 'dllexport' attribute added [-Winconsistent-dllimport]
# | 424 | void ImportMembers::Nested::staticDef() {} // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:363:45: note: previous declaration is here
# | 363 | __declspec(dllimport) static void staticDef(); // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:685:22: warning: 'ImportDefaultedDefs::ImportDefaultedDefs' redeclared without 'dllimport' attribute: 'dllexport' attribute added [-Winconsistent-dllimport]
# | 685 | ImportDefaultedDefs::ImportDefaultedDefs(ImportDefaultedDefs&&) = default; // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:645:25: note: previous declaration is here
# | 645 | __declspec(dllimport) ImportDefaultedDefs(ImportDefaultedDefs&&);
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:692:43: warning: 'ImportDefaultedDefs::operator=' redeclared without 'dllimport' attribute: 'dllexport' attribute added [-Winconsistent-dllimport]
# | 692 | ImportDefaultedDefs& ImportDefaultedDefs::operator=(ImportDefaultedDefs&&) = default; // dllimport ignored
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:646:46: note: previous declaration is here
# | 646 | __declspec(dllimport) ImportDefaultedDefs& operator=(ImportDefaultedDefs&&);
# | | ^
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/DeclTemplate.h:3473: clang::ExplicitInstantiationDecl::ExplicitInstantiationDecl(DeclContext *, SourceRange, NamedDecl *, SourceLocation, SourceLocation, SourceLocation, NestedNameSpecifierLoc, const ASTTemplateArgumentListInfo *, SourceLocation, TypeSourceInfo *, TemplateSpecializationKind): Assertion `(TSK == TSK_ExplicitInstantiationDeclaration) == ExternLoc.isValid() && "ExternLoc should be valid iff TSK is a declaration"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -no-enable-noundef-analysis -disable-llvm-passes -triple i686-windows-msvc -fms-compatibility -emit-llvm -std=c++1y -O0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp -DMSABI
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp:781:66: current parser token ';'
# | #0 0x000000000a0a2918 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x000000000a09f881 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a0a3731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8
# | #4 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2117:14
# | #5 0x000000000a0a3588 find<const int *, int> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:3897:14
# | #6 0x000000000a0a3588 is_contained<const int (&)[10], int> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1953:12
# | #7 0x000000000a0a3588 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:464:7
# | #8 0x00007a03ed9f9330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #9 0x00007a03eda52b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #10 0x00007a03ed9f927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #11 0x00007a03ed9dc8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #12 0x00007a03ed9dc81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #13 0x00007a03ed9ef517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #14 0x000000000ea2b28f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xea2b28f)
# | #15 0x000000000e376a06 addExplicitInstantiationDecl(clang::ASTContext&, clang::DeclContext*, clang::CXXScopeSpec const&, clang::SourceLocation, clang::NamedDecl*, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::ASTTemplateArgumentListInfo const*, clang::SourceLocation, clang::TypeSourceInfo*, clang::TemplateSpecializationKind) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:9333:15
# | #16 0x000000000e378fbf clang::Sema::ActOnExplicitInstantiation(clang::Scope*, clang::SourceLocation, clang::SourceLocation, clang::Declarator&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:0:0
# | #17 0x000000000db7e47f clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2545:19
# | #18 0x000000000db7c93a clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2355:7
# | #19 0x000000000dbb12f4 clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:0:10
# | #20 0x000000000dbafd34 clang::Parser::ParseExplicitInstantiation(clang::DeclaratorContext, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:1424:10
# | #21 0x000000000dbafbd3 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #22 0x000000000dbafbd3 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:36:25
# | #23 0x000000000db7b1a4 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #24 0x000000000db7b1a4 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:1881:25
# | #25 0x000000000db0d6e9 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0
# | #26 0x000000000db0be70 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10
# | #27 0x000000000db0062e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #28 0x000000000af5b2e6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #29 0x000000000aebb0ed getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #30 0x000000000aebb0ed operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #31 0x000000000aebb0ed clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23
# | #32 0x000000000b053a94 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #33 0x000000000b053a94 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #34 0x000000000b053a94 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #35 0x000000000b053a94 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12
# | #36 0x000000000b053a94 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
# | #37 0x0000000007223b15 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15
# | #38 0x000000000721f8f5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
# | #39 0x000000000721e8c0 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:277:12
# | #40 0x000000000722fe5d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #41 0x00007a03ed9de1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #42 0x00007a03ed9de28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #43 0x000000000721d265 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x721d265)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=MSC --check-prefix=M32 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=MSC --check-prefix=M32 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport-members.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.CodeGenCXX/dllimport.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -no-enable-noundef-analysis -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport.cpp -DMSABI -w | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=MSC --check-prefix=M32 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -no-enable-noundef-analysis -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport.cpp -DMSABI -w
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/DeclTemplate.h:3473: clang::ExplicitInstantiationDecl::ExplicitInstantiationDecl(DeclContext *, SourceRange, NamedDecl *, SourceLocation, SourceLocation, SourceLocation, NestedNameSpecifierLoc, const ASTTemplateArgumentListInfo *, SourceLocation, TypeSourceInfo *, TemplateSpecializationKind): Assertion `(TSK == TSK_ExplicitInstantiationDeclaration) == ExternLoc.isValid() && "ExternLoc should be valid iff TSK is a declaration"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -no-enable-noundef-analysis -triple i686-windows-msvc -fno-rtti -fno-threadsafe-statics -fms-extensions -emit-llvm -std=c++1y -O0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport.cpp -DMSABI -w
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport.cpp:525:56: current parser token ';'
# | #0 0x000000000a0a2918 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x000000000a09f881 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a0a3731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8
# | #4 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2117:14
# | #5 0x000000000a0a3588 find<const int *, int> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:3897:14
# | #6 0x000000000a0a3588 is_contained<const int (&)[10], int> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1953:12
# | #7 0x000000000a0a3588 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:464:7
# | #8 0x000078ac84273330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #9 0x000078ac842ccb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #10 0x000078ac8427327e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #11 0x000078ac842568ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #12 0x000078ac8425681b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #13 0x000078ac84269517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #14 0x000000000ea2b28f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xea2b28f)
# | #15 0x000000000e376a06 addExplicitInstantiationDecl(clang::ASTContext&, clang::DeclContext*, clang::CXXScopeSpec const&, clang::SourceLocation, clang::NamedDecl*, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::ASTTemplateArgumentListInfo const*, clang::SourceLocation, clang::TypeSourceInfo*, clang::TemplateSpecializationKind) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:9333:15
# | #16 0x000000000e378fbf clang::Sema::ActOnExplicitInstantiation(clang::Scope*, clang::SourceLocation, clang::SourceLocation, clang::Declarator&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:0:0
# | #17 0x000000000db7e47f clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2545:19
# | #18 0x000000000db7c93a clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2355:7
# | #19 0x000000000dbb12f4 clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:0:10
# | #20 0x000000000dbafd34 clang::Parser::ParseExplicitInstantiation(clang::DeclaratorContext, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:1424:10
# | #21 0x000000000dbafbd3 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #22 0x000000000dbafbd3 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:36:25
# | #23 0x000000000db7b1a4 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #24 0x000000000db7b1a4 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:1881:25
# | #25 0x000000000db0d6e9 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0
# | #26 0x000000000db0be70 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10
# | #27 0x000000000db0062e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #28 0x000000000af5b2e6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #29 0x000000000aebb0ed getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #30 0x000000000aebb0ed operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #31 0x000000000aebb0ed clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23
# | #32 0x000000000b053a94 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #33 0x000000000b053a94 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #34 0x000000000b053a94 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #35 0x000000000b053a94 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12
# | #36 0x000000000b053a94 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
# | #37 0x0000000007223b15 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15
# | #38 0x000000000721f8f5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
# | #39 0x000000000721e8c0 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:277:12
# | #40 0x000000000722fe5d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #41 0x000078ac842581ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #42 0x000078ac8425828b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #43 0x000000000721d265 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x721d265)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=MSC --check-prefix=M32 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport.cpp
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=MSC --check-prefix=M32 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dllimport.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.CodeGenCXX/microsoft-abi-static-initializers.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -fms-extensions -fno-threadsafe-statics -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp -o - -mconstructor-aliases -triple=i386-pc-win32 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -fms-extensions -fno-threadsafe-statics -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp -o - -mconstructor-aliases -triple=i386-pc-win32
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/DeclTemplate.h:3473: clang::ExplicitInstantiationDecl::ExplicitInstantiationDecl(DeclContext *, SourceRange, NamedDecl *, SourceLocation, SourceLocation, SourceLocation, NestedNameSpecifierLoc, const ASTTemplateArgumentListInfo *, SourceLocation, TypeSourceInfo *, TemplateSpecializationKind): Assertion `(TSK == TSK_ExplicitInstantiationDeclaration) == ExternLoc.isValid() && "ExternLoc should be valid iff TSK is a declaration"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -fms-extensions -fno-threadsafe-statics -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp -o - -mconstructor-aliases -triple=i386-pc-win32
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp:214:47: current parser token ';'
# | 2. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp:207:1: parsing namespace 'DynamicDLLImportInitVSMangling'
# | #0 0x000000000a0a2918 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x000000000a09f881 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a0a3731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8
# | #4 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2117:14
# | #5 0x000000000a0a3588 find<const int *, int> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:3897:14
# | #6 0x000000000a0a3588 is_contained<const int (&)[10], int> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1953:12
# | #7 0x000000000a0a3588 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:464:7
# | #8 0x0000792653e4b330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #9 0x0000792653ea4b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #10 0x0000792653e4b27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #11 0x0000792653e2e8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #12 0x0000792653e2e81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #13 0x0000792653e41517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #14 0x000000000ea2b28f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xea2b28f)
# | #15 0x000000000e3764b7 addExplicitInstantiationDecl /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:9333:15
# | #16 0x000000000e3764b7 clang::Sema::ActOnExplicitInstantiation(clang::Scope*, clang::SourceLocation, clang::SourceLocation, unsigned int, clang::SourceLocation, clang::CXXScopeSpec const&, clang::OpaquePtr<clang::TemplateName>, clang::SourceLocation, clang::SourceLocation, llvm::MutableArrayRef<clang::ParsedTemplateArgument>, clang::SourceLocation, clang::ParsedAttributesView const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:0:0
# | #17 0x000000000db5b999 clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:1995:33
# | #18 0x000000000db80ec7 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46
# | #19 0x000000000db80ec7 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:822:40
# | #20 0x000000000db80ec7 clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:4491:23
# | #21 0x000000000dbb1138 is /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Lex/Token.h:104:49
# | #22 0x000000000dbb1138 clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:204:11
# | #23 0x000000000dbafd34 clang::Parser::ParseExplicitInstantiation(clang::DeclaratorContext, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:1424:10
# | #24 0x000000000dbafbd3 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #25 0x000000000dbafbd3 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:36:25
# | #26 0x000000000db7b1a4 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #27 0x000000000db7b1a4 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:1881:25
# | #28 0x000000000db0d6e9 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0
# | #29 0x000000000db5356d ~AttributePool /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:709:22
# | #30 0x000000000db5356d ~ParsedAttributes /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:937:7
# | #31 0x000000000db5356d clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:237:5
# | #32 0x000000000db52abe Exit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:434:15
# | #33 0x000000000db52abe clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:217:18
# | #34 0x000000000db7b304 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #35 0x000000000db7b304 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:1881:25
# | #36 0x000000000db0d6e9 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0
# | #37 0x000000000db0be70 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10
# | #38 0x000000000db0062e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #39 0x000000000af5b2e6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #40 0x000000000aebb0ed getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #41 0x000000000aebb0ed operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #42 0x000000000aebb0ed clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23
# | #43 0x000000000b053a94 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #44 0x000000000b053a94 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #45 0x000000000b053a94 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #46 0x000000000b053a94 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12
# | #47 0x000000000b053a94 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
# | #48 0x0000000007223b15 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15
# | #49 0x000000000721f8f5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
# | #50 0x000000000721e8c0 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:277:12
# | #51 0x000000000722fe5d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #52 0x0000792653e301ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #53 0x0000792653e3028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #54 0x000000000721d265 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x721d265)
# `-----------------------------
# error: command failed with exit status: -6
# 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/CodeGenCXX/microsoft-abi-static-initializers.cpp
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.SemaCXX/attr-exclude_from_explicit_instantiation.ignore-dllattr.cpp</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-win32 -fms-extensions -fsyntax-only -verify=expected,msc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/attr-exclude_from_explicit_instantiation.ignore-dllattr.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-win32 -fms-extensions -fsyntax-only -verify=expected,msc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/attr-exclude_from_explicit_instantiation.ignore-dllattr.cpp
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/DeclTemplate.h:3473: clang::ExplicitInstantiationDecl::ExplicitInstantiationDecl(DeclContext *, SourceRange, NamedDecl *, SourceLocation, SourceLocation, SourceLocation, NestedNameSpecifierLoc, const ASTTemplateArgumentListInfo *, SourceLocation, TypeSourceInfo *, TemplateSpecializationKind): Assertion `(TSK == TSK_ExplicitInstantiationDeclaration) == ExternLoc.isValid() && "ExternLoc should be valid iff TSK is a declaration"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-win32 -fms-extensions -fsyntax-only -verify=expected,msc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/attr-exclude_from_explicit_instantiation.ignore-dllattr.cpp
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/attr-exclude_from_explicit_instantiation.ignore-dllattr.cpp:69:41: current parser token ';'
# | #0 0x000000000a0a2918 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x000000000a09f881 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a0a3731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8
# | #4 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2117:14
# | #5 0x000000000a0a3588 find<const int *, int> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:3897:14
# | #6 0x000000000a0a3588 is_contained<const int (&)[10], int> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1953:12
# | #7 0x000000000a0a3588 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:464:7
# | #8 0x00007854a35a0330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #9 0x00007854a35f9b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #10 0x00007854a35a027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #11 0x00007854a35838ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #12 0x00007854a358381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #13 0x00007854a3596517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #14 0x000000000ea2b28f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xea2b28f)
# | #15 0x000000000e3764b7 addExplicitInstantiationDecl /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:9333:15
# | #16 0x000000000e3764b7 clang::Sema::ActOnExplicitInstantiation(clang::Scope*, clang::SourceLocation, clang::SourceLocation, unsigned int, clang::SourceLocation, clang::CXXScopeSpec const&, clang::OpaquePtr<clang::TemplateName>, clang::SourceLocation, clang::SourceLocation, llvm::MutableArrayRef<clang::ParsedTemplateArgument>, clang::SourceLocation, clang::ParsedAttributesView const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:0:0
# | #17 0x000000000db5b999 clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:1995:33
# | #18 0x000000000db80ec7 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46
# | #19 0x000000000db80ec7 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:822:40
# | #20 0x000000000db80ec7 clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:4491:23
# | #21 0x000000000dbb1138 is /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Lex/Token.h:104:49
# | #22 0x000000000dbb1138 clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:204:11
# | #23 0x000000000dbafd34 clang::Parser::ParseExplicitInstantiation(clang::DeclaratorContext, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:1424:10
# | #24 0x000000000dbafbd3 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #25 0x000000000dbafbd3 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:36:25
# | #26 0x000000000db7b1a4 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #27 0x000000000db7b1a4 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:1881:25
# | #28 0x000000000db0d6e9 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0
# | #29 0x000000000db0be70 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10
# | #30 0x000000000db0062e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #31 0x000000000af5b2e6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #32 0x000000000aebb0ed getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #33 0x000000000aebb0ed operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #34 0x000000000aebb0ed clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23
# | #35 0x000000000b053a94 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #36 0x000000000b053a94 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #37 0x000000000b053a94 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #38 0x000000000b053a94 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12
# | #39 0x000000000b053a94 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
# | #40 0x0000000007223b15 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15
# | #41 0x000000000721f8f5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
# | #42 0x000000000721e8c0 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:277:12
# | #43 0x000000000722fe5d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #44 0x00007854a35851ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #45 0x00007854a358528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #46 0x000000000721d265 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x721d265)
# `-----------------------------
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>Clang.SemaCXX/dllexport.cpp</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple i686-win32 -fsyntax-only -fms-extensions -verify=expected,ms,non-gnu,ms-ps -std=c++11 -Wunsupported-dll-base-class-template /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/dllexport.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple i686-win32 -fsyntax-only -fms-extensions -verify=expected,ms,non-gnu,ms-ps -std=c++11 -Wunsupported-dll-base-class-template /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/dllexport.cpp
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/DeclTemplate.h:3473: clang::ExplicitInstantiationDecl::ExplicitInstantiationDecl(DeclContext *, SourceRange, NamedDecl *, SourceLocation, SourceLocation, SourceLocation, NestedNameSpecifierLoc, const ASTTemplateArgumentListInfo *, SourceLocation, TypeSourceInfo *, TemplateSpecializationKind): Assertion `(TSK == TSK_ExplicitInstantiationDeclaration) == ExternLoc.isValid() && "ExternLoc should be valid iff TSK is a declaration"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple i686-win32 -fsyntax-only -fms-extensions -verify=expected,ms,non-gnu,ms-ps -std=c++11 -Wunsupported-dll-base-class-template /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/dllexport.cpp
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/dllexport.cpp:436:80: current parser token ';'
# | #0 0x000000000a0a2918 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x000000000a09f881 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a0a3731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8
# | #4 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2117:14
# | #5 0x000000000a0a3588 find<const int *, int> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:3897:14
# | #6 0x000000000a0a3588 is_contained<const int (&)[10], int> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1953:12
# | #7 0x000000000a0a3588 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:464:7
# | #8 0x00007cdacf7db330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #9 0x00007cdacf834b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #10 0x00007cdacf7db27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #11 0x00007cdacf7be8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #12 0x00007cdacf7be81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #13 0x00007cdacf7d1517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #14 0x000000000ea2b28f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xea2b28f)
# | #15 0x000000000e3764b7 addExplicitInstantiationDecl /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:9333:15
# | #16 0x000000000e3764b7 clang::Sema::ActOnExplicitInstantiation(clang::Scope*, clang::SourceLocation, clang::SourceLocation, unsigned int, clang::SourceLocation, clang::CXXScopeSpec const&, clang::OpaquePtr<clang::TemplateName>, clang::SourceLocation, clang::SourceLocation, llvm::MutableArrayRef<clang::ParsedTemplateArgument>, clang::SourceLocation, clang::ParsedAttributesView const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:0:0
# | #17 0x000000000db5b999 clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:1995:33
# | #18 0x000000000db80ec7 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46
# | #19 0x000000000db80ec7 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:822:40
# | #20 0x000000000db80ec7 clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:4491:23
# | #21 0x000000000dbb1138 is /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Lex/Token.h:104:49
# | #22 0x000000000dbb1138 clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:204:11
# | #23 0x000000000dbafd34 clang::Parser::ParseExplicitInstantiation(clang::DeclaratorContext, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:1424:10
# | #24 0x000000000dbafbd3 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #25 0x000000000dbafbd3 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:36:25
# | #26 0x000000000db7b1a4 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #27 0x000000000db7b1a4 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:1881:25
# | #28 0x000000000db0d6e9 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0
# | #29 0x000000000db0be70 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10
# | #30 0x000000000db0062e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #31 0x000000000af5b2e6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #32 0x000000000aebb0ed getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #33 0x000000000aebb0ed operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #34 0x000000000aebb0ed clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23
# | #35 0x000000000b053a94 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #36 0x000000000b053a94 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #37 0x000000000b053a94 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #38 0x000000000b053a94 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12
# | #39 0x000000000b053a94 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
# | #40 0x0000000007223b15 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15
# | #41 0x000000000721f8f5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
# | #42 0x000000000721e8c0 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:277:12
# | #43 0x000000000722fe5d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #44 0x00007cdacf7c01ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #45 0x00007cdacf7c028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #46 0x000000000721d265 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x721d265)
# `-----------------------------
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>Clang.SemaCXX/dllimport.cpp</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple i686-win32 -fsyntax-only -fms-extensions -verify -std=c++11 -Wunsupported-dll-base-class-template -DMS /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/dllimport.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple i686-win32 -fsyntax-only -fms-extensions -verify -std=c++11 -Wunsupported-dll-base-class-template -DMS /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/dllimport.cpp
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/DeclTemplate.h:3473: clang::ExplicitInstantiationDecl::ExplicitInstantiationDecl(DeclContext *, SourceRange, NamedDecl *, SourceLocation, SourceLocation, SourceLocation, NestedNameSpecifierLoc, const ASTTemplateArgumentListInfo *, SourceLocation, TypeSourceInfo *, TemplateSpecializationKind): Assertion `(TSK == TSK_ExplicitInstantiationDeclaration) == ExternLoc.isValid() && "ExternLoc should be valid iff TSK is a declaration"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple i686-win32 -fsyntax-only -fms-extensions -verify -std=c++11 -Wunsupported-dll-base-class-template -DMS /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/dllimport.cpp
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaCXX/dllimport.cpp:500:56: current parser token ';'
# | #0 0x000000000a0a2918 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x000000000a09f881 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a0a3731 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8
# | #4 0x000000000a0a3588 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2117:14
# | #5 0x000000000a0a3588 find<const int *, int> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:3897:14
# | #6 0x000000000a0a3588 is_contained<const int (&)[10], int> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1953:12
# | #7 0x000000000a0a3588 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:464:7
# | #8 0x00007d40eea29330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #9 0x00007d40eea82b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #10 0x00007d40eea2927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #11 0x00007d40eea0c8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #12 0x00007d40eea0c81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #13 0x00007d40eea1f517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #14 0x000000000ea2b28f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0xea2b28f)
# | #15 0x000000000e376a06 addExplicitInstantiationDecl(clang::ASTContext&, clang::DeclContext*, clang::CXXScopeSpec const&, clang::SourceLocation, clang::NamedDecl*, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::ASTTemplateArgumentListInfo const*, clang::SourceLocation, clang::TypeSourceInfo*, clang::TemplateSpecializationKind) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:9333:15
# | #16 0x000000000e378fbf clang::Sema::ActOnExplicitInstantiation(clang::Scope*, clang::SourceLocation, clang::SourceLocation, clang::Declarator&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaTemplate.cpp:0:0
# | #17 0x000000000db7e47f clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2545:19
# | #18 0x000000000db7c93a clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2355:7
# | #19 0x000000000dbb12f4 clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:0:10
# | #20 0x000000000dbafd34 clang::Parser::ParseExplicitInstantiation(clang::DeclaratorContext, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:1424:10
# | #21 0x000000000dbafbd3 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #22 0x000000000dbafbd3 clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseTemplate.cpp:36:25
# | #23 0x000000000db7b1a4 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5427:11
# | #24 0x000000000db7b1a4 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:1881:25
# | #25 0x000000000db0d6e9 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0
# | #26 0x000000000db0be70 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10
# | #27 0x000000000db0062e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #28 0x000000000af5b2e6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #29 0x000000000aebb0ed getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #30 0x000000000aebb0ed operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #31 0x000000000aebb0ed clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:990:23
# | #32 0x000000000b053a94 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #33 0x000000000b053a94 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #34 0x000000000b053a94 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #35 0x000000000b053a94 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:310:12
# | #36 0x000000000b053a94 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
# | #37 0x0000000007223b15 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:302:15
# | #38 0x000000000721f8f5 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
# | #39 0x000000000721e8c0 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:277:12
# | #40 0x000000000722fe5d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #41 0x00007d40eea0e1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #42 0x00007d40eea0e28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #43 0x000000000721d265 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x721d265)
# `-----------------------------
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>Clang.SemaHLSL/Language/groupsharedArgs/ExportNoInlineTest.hlsl</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -std=hlsl202x -verify -Wconversion /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/Language/groupsharedArgs/ExportNoInlineTest.hlsl
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple dxil-pc-shadermodel6.3-library -finclude-default-header -std=hlsl202x -verify -Wconversion /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/Language/groupsharedArgs/ExportNoInlineTest.hlsl
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/Language/groupsharedArgs/ExportNoInlineTest.hlsl Line 18: export declaration can only be used on functions
# | 1 error 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/191658
More information about the cfe-commits
mailing list