github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 3080 tests passed
* 7 tests skipped
* 1 test failed

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

### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/checkers/misc/static-in-constexpr.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++20 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/static-in-constexpr.cpp
 misc-static-in-constexpr 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.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++20 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/static-in-constexpr.cpp
 misc-static-in-constexpr 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.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/misc/Output/static-in-constexpr.cpp.tmp.cpp',
 '-fix', '--checks=-*,misc-static-in-constexpr', '--config={}', '--', 
'-std=c++20', '-nostdinc++']...
# | 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/static-in-constexpr.cpp.tmp.cpp
 -fix --checks=-*,misc-static-in-constexpr --config={} -- -std=c++20 
-nostdinc++ failed:
# | 10 warnings and 4 errors generated.
# | Error while processing 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp.
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:9:16:
 error: constexpr function never produces a constant expression 
[clang-diagnostic-invalid-constexpr]
# |     9 | constexpr void constexpr_func() {
# |       |                ^~~~~~~~~~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:10:14:
 note: control flows through the definition of a static variable
# |    10 |   static int x = 0;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:10:14:
 warning: variable of static or thread storage duration inside constexpr 
function [misc-static-in-constexpr]
# |    10 |   static int x = 0;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:13:20:
 warning: variable of static or thread storage duration inside constexpr 
function [misc-static-in-constexpr]
# |    13 |   thread_local int y = 0;
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:17:16:
 error: consteval function never produces a constant expression 
[clang-diagnostic-invalid-constexpr]
# |    17 | consteval void consteval_func() {
# |       |                ^~~~~~~~~~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:18:14:
 note: control flows through the definition of a static variable
# |    18 |   static int x = 0;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:18:14:
 warning: variable of static or thread storage duration inside constexpr 
function [misc-static-in-constexpr]
# |    18 |   static int x = 0;
# |       |              ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:30:12:
 error: constexpr function never produces a constant expression 
[clang-diagnostic-invalid-constexpr]
# |    30 |   auto l = []() constexpr {
# |       |            ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:31:16:
 note: control flows through the definition of a static variable
# |    31 |     static int x = 0;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:31:16:
 warning: variable of static or thread storage duration inside constexpr 
function [misc-static-in-constexpr]
# |    31 |     static int x = 0;
# |       |                ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:37:27:
 error: constexpr function never produces a constant expression 
[clang-diagnostic-invalid-constexpr]
# |    37 |     static constexpr void static_member_func() {
# |       |                           ^~~~~~~~~~~~~~~~~~
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:38:20:
 note: control flows through the definition of a static variable
# |    38 |         static int x = 0;
# |       |                    ^
# | 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/misc/Output/static-in-constexpr.cpp.tmp.cpp:38:20:
 warning: variable of static or thread storage duration inside constexpr 
function [misc-static-in-constexpr]
# |    38 |         static int x = 0;
# |       |                    ^
# | Suppressed 5 warnings (5 with check filters).
# | Found compiler errors, but -fix-errors was not specified.
# | Fixes have NOT been applied.
# | 
# | Found compiler error(s).
# | 
# `-----------------------------
# .---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 413, 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 409, 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 307, in run
# |     clang_tidy_output = self.run_clang_tidy()
# |                         ^^^^^^^^^^^^^^^^^^^^^
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 232, in run_clang_tidy
# |     clang_tidy_output = try_run(args)
# |                         ^^^^^^^^^^^^^
# |   File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
 line 63, 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 '['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/static-in-constexpr.cpp.tmp.cpp',
 '-fix', '--checks=-*,misc-static-in-constexpr', '--config={}', '--', 
'-std=c++20', '-nostdinc++']' returned non-zero exit status 1.
# `-----------------------------
# 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/175814
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to