[clang] [clang][Modules] Complete the implementation of P2615: Meaningful exports (PR #194201)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 25 21:41:58 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 87634 tests passed
* 1497 tests skipped
* 10 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Modules/explicit-specializations.cppm</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/explicit-specializations.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/explicit-specializations.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 6
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp
# executed command: cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 8
/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 -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm -emit-module-interface -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.pcm
# 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 -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm -emit-module-interface -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.pcm
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:11:1: error: a specialization cannot be marked 'export'
# | 11 | export template <>
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:11:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:25:1: error: a specialization cannot be marked 'export'
# | 25 | export template <>
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:25:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:37:1: error: a specialization cannot be marked 'export'
# | 37 | export template<>
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:37:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:49:1: error: a specialization cannot be marked 'export'
# | 49 | export template<>
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:49:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:59:1: error: a specialization cannot be marked 'export'
# | 59 | export template<>
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:59:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:70:1: error: a specialization cannot be marked 'export'
# | 70 | export template<>
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/explicit-specializations.cppm.tmp/a.cppm:70:1: note: as long as its primary template is exported, it will be too
# | 6 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Modules/merge-var-template-spec-cxx-modules.cppm</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp
# executed command: mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/merge-var-template-spec-cxx-modules.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/merge-var-template-spec-cxx-modules.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
/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 -std=c++20 -emit-module-interface /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.cppm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.pcm
# 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 -std=c++20 -emit-module-interface /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.cppm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.pcm
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.cppm:7:1: error: a specialization cannot be marked 'export'
# | 7 | export template <> constexpr Int zero<Int> = {0};
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.cppm:7:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.cppm:8:1: error: a specialization cannot be marked 'export'
# | 8 | export template <class T> constexpr T* zero<T*> = nullptr;
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.cppm:8:1: note: as long as its primary template is exported, it will be too
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Modules/pr59780.cppm</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp
# executed command: mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/pr59780.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/pr59780.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 7
/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 -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp/a.cppm -triple x86_64-unknown-linux-gnu -emit-module-interface -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp/a.pcm
# 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 -std=c++20 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp/a.cppm -triple x86_64-unknown-linux-gnu -emit-module-interface -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp/a.pcm
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp/a.cppm:6:1: error: a specialization cannot be marked 'export'
# | 6 | export template<>
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp/a.cppm:6:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp/a.cppm:17:1: error: a specialization cannot be marked 'export'
# | 17 | export template<>
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr59780.cppm.tmp/a.cppm:17:1: note: as long as its primary template is exported, it will be too
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Modules/pr60890.cppm</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp
# executed command: mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/pr60890.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/pr60890.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 7
/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 -std=c++20 -emit-module-interface /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.cppm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.pcm
# 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 -std=c++20 -emit-module-interface /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.cppm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.pcm
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.cppm:9:1: error: an explicit instantiation cannot be marked 'export'
# | 9 | export template struct a<double>;
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.cppm:9:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.cppm:14:1: error: an explicit instantiation cannot be marked 'export'
# | 14 | export template void foo<double>(double);
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.cppm:14:1: note: as long as its primary template is exported, it will be too
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Modules/pr62796.cppm</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp
# executed command: mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/pr62796.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/pr62796.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
/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 -std=c++20 -emit-module-interface /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp/Cache.cppm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp/Cache.pcm
# 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 -std=c++20 -emit-module-interface /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp/Cache.cppm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp/Cache.pcm
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp/Cache.cppm:3:1: error: an explicit instantiation cannot be marked 'export'
# | 3 | export namespace Fibonacci
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp/Cache.cppm:3:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp/Cache.cppm:3:1: error: an explicit instantiation cannot be marked 'export'
# | 3 | export namespace Fibonacci
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr62796.cppm.tmp/Cache.cppm:3:1: note: as long as its primary template is exported, it will be too
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Modules/pr97313.cppm</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp
# executed command: mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/pr97313.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/pr97313.cppm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 7
/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 -std=c++20 -triple x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Base.cppm -emit-module-interface -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Base.pcm
# 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 -std=c++20 -triple x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Base.cppm -emit-module-interface -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Base.pcm
# note: command had no output on stdout or stderr
# RUN: at line 9
/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 -std=c++20 -triple x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Sub.cppm -emit-module-interface -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Sub.pcm -fprebuilt-module-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp
# 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 -std=c++20 -triple x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Sub.cppm -emit-module-interface -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Sub.pcm -fprebuilt-module-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp
# note: command had no output on stdout or stderr
# RUN: at line 11
/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 -std=c++20 -triple x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Sub.pcm -emit-llvm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Sub.pcm -o - -fprebuilt-module-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Sub.cppm
# 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 -std=c++20 -triple x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Sub.pcm -emit-llvm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Sub.pcm -o - -fprebuilt-module-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Sub.cppm
# note: command had no output on stdout or stderr
# RUN: at line 14
/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 -std=c++20 -triple x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/main.cpp -emit-llvm -fprebuilt-module-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/main.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 -std=c++20 -triple x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/main.cpp -emit-llvm -fprebuilt-module-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/main.cpp
# note: command had no output on stdout or stderr
# RUN: at line 17
/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 -std=c++20 -triple x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Mod.cppm -emit-module-interface -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Mod.pcm
# 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 -std=c++20 -triple x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Mod.cppm -emit-module-interface -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Mod.pcm
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Mod.cppm:16:1: error: a specialization cannot be marked 'export'
# | 16 | export template<>
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Mod.cppm:16:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Mod.cppm:24:1: error: an explicit instantiation cannot be marked 'export'
# | 24 | export template class Template<unsigned>;
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Mod.cppm:24:1: note: as long as its primary template is exported, it will be too
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Mod.cppm:28:1: error: an explicit instantiation cannot be marked 'export'
# | 28 | export extern template class Template<double>;
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/pr97313.cppm.tmp/Mod.cppm:28:1: note: as long as its primary template is exported, it will be too
# | 3 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Modules/template-function-specialization.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -fr /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp
# executed command: rm -fr /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp
# executed command: mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/template-function-specialization.cpp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Modules/template-function-specialization.cpp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
/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 -std=c++20 -emit-module-interface /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp/foo.cppm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp/foo.pcm
# 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 -std=c++20 -emit-module-interface /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp/foo.cppm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp/foo.pcm
# .---command stderr------------
# | In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp/foo.cppm:2:
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp/foo.cppm:34:1: error: a specialization cannot be marked 'export'
# | 34 | export template <>
# | | ^~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Modules/Output/template-function-specialization.cpp.tmp/foo.cppm:34:1: note: as long as its primary template is exported, it will be too
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</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: an explicit instantiation cannot be marked 'export'
# | error: 'expected-note' diagnostics seen but not expected:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/SemaHLSL/Language/groupsharedArgs/ExportNoInlineTest.hlsl Line 18: as long as its primary template is exported, it will be too
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### Clang-Unit
<details>
<summary>Clang-Unit._/AllClangUnitTests/LoadSpecLazilyTest/ChainedTest2</summary>
```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/./AllClangUnitTests --gtest_filter=LoadSpecLazilyTest.ChainedTest2
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Serialization/LoadSpecLazilyTest.cpp:89
Value of: Instance.ExecuteAction(Action)
Actual: false
Expected: true
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Serialization/LoadSpecLazilyTest.cpp:90
Value of: Diags->hasErrorOccurred()
Actual: true
Expected: false
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Serialization/LoadSpecLazilyTest.cpp:121
Value of: ReadedSpecifiedName
Actual: false
Expected: true
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Serialization/LoadSpecLazilyTest.cpp:262
Value of: runToolOnCodeWithArgs(std::make_unique<CheckLoadSpecLazilyAction>( "MayBeLoaded", CheckingMode::Required), test_file_contents, { "-std=c++20", DepArg.c_str(), "-I", TestDir.c_str(), }, "test.cpp")
Actual: false
Expected: true
```
</details>
<details>
<summary>Clang-Unit._/AllClangUnitTests/VarDeclConstantInitTest/CachedConstantInit</summary>
```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/./AllClangUnitTests --gtest_filter=VarDeclConstantInitTest.CachedConstantInit
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Serialization/VarDeclConstantInitTest.cpp:116
Value of: Instance.ExecuteAction(Action)
Actual: false
Expected: true
```
</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/194201
More information about the cfe-commits
mailing list