github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3486 tests passed
* 8 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/bugprone/redundant-branch-condition.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/bugprone/redundant-branch-condition.cpp
bugprone-redundant-branch-condition
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp
-- -- -fblocks
# 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/bugprone/redundant-branch-condition.cpp
bugprone-redundant-branch-condition
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp
-- -- -fblocks
# .---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/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp',
'-fix', '--checks=-*,bugprone-redundant-branch-condition', '--config={}',
'--', '-fblocks', '-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 -----------------------
# | 49 warnings generated.
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:23:5:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 23 | if (onFire) {
# | | ^~~~~~~~~~~~~
# | 24 | //
# | 25 | //
# | 26 | scream();
# | 27 | }
# | | ~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:23:5:
note: FIX-IT applied suggested code changes
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:27:5:
note: FIX-IT applied suggested code changes
# | 27 | }
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:36:7:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 36 | if (onFire)
# | | ^~~~~~~~~~~
# | 37 | //
# | | ~~
# | 38 | //
# | | ~~
# | 39 | scream();
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:36:7:
note: FIX-IT applied suggested code changes
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:47:5:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 47 | if (onFire && peopleInTheBuilding > 0) {
# | | ^ ~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:47:9:
note: FIX-IT applied suggested code changes
# | 47 | if (onFire && peopleInTheBuilding > 0) {
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:59:7:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 59 | if (onFire && peopleInTheBuilding > 0) {
# | | ^ ~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:59:11:
note: FIX-IT applied suggested code changes
# | 59 | if (onFire && peopleInTheBuilding > 0) {
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:71:5:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 71 | if (peopleInTheBuilding > 0 && onFire) {
# | | ^ ~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:71:33:
note: FIX-IT applied suggested code changes
# | 71 | if (peopleInTheBuilding > 0 && onFire) {
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:83:7:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 83 | if (peopleInTheBuilding > 0 && onFire) {
# | | ^ ~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:83:35:
note: FIX-IT applied suggested code changes
# | 83 | if (peopleInTheBuilding > 0 && onFire) {
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:95:5:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 95 | if (onFire || isCollapsing()) {
# | | ^~~~~~~~~~~~~ ~~~
# | | ;
# | 96 | //
# | 97 | //
# | 98 | scream();
# | 99 | }
# | | ~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:95:5:
note: FIX-IT applied suggested code changes
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:95:33:
note: FIX-IT applied suggested code changes
# | 95 | if (onFire || isCollapsing()) {
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:99:5:
note: FIX-IT applied suggested code changes
# | 99 | }
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:108:7:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 108 | if (onFire || isCollapsing()) {
# | | ^~~~~~~~~~~~~ ~~~
# | | ;
# | 109 | //
# | 110 | //
# | 111 | scream();
# | 112 | }
# | | ~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:108:7:
note: FIX-IT applied suggested code changes
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:108:35:
note: FIX-IT applied suggested code changes
# | 108 | if (onFire || isCollapsing()) {
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:112:7:
note: FIX-IT applied suggested code changes
# | 112 | }
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:121:5:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 121 | if (isCollapsing() || onFire) {
# | | ^~~~ ~~~~~~~~~~~~
# | | ;
# | 122 | //
# | 123 | //
# | 124 | scream();
# | 125 | }
# | | ~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:121:5:
note: FIX-IT applied suggested code changes
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:121:24:
note: FIX-IT applied suggested code changes
# | 121 | if (isCollapsing() || onFire) {
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:125:5:
note: FIX-IT applied suggested code changes
# | 125 | }
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:134:7:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 134 | if (isCollapsing() || onFire) {
# | | ^~~~ ~~~~~~~~~~~~
# | | ;
# | 135 | //
# | 136 | //
# | 137 | scream();
# | 138 | }
# | | ~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:134:7:
note: FIX-IT applied suggested code changes
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:134:26:
note: FIX-IT applied suggested code changes
# | 134 | if (isCollapsing() || onFire) {
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:138:7:
note: FIX-IT applied suggested code changes
# | 138 | }
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:147:5:
warning: redundant condition 'onFire' [bugprone-redundant-branch-condition]
# | 147 | if (onFire) {
# | | ^~~~~~~~~~~~~
# | 148 | //
# | 149 | //
# | 150 | scream();
# | 151 | }
# | | ~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp:147:5:
note: FIX-IT applied suggested code changes
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/bu
# | ...
# `---data was truncated (10240/73000) (change limit with -D output_limit=N)
# .---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 576, 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 572, 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 437, 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 362, in check_messages
# | try_run(
# | ~~~~~~~^
# | [
# | ^
# | ...<5 lines>...
# | ]
# | ^
# | )
# | ^
# | File
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py",
line 68, in try_run
# | process_output = subprocess.check_output(args,
stderr=subprocess.STDOUT).decode(
# | ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.14/subprocess.py", line 473, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | **kwargs).stdout
# | ^^^^^^^^^
# | File "/usr/lib/python3.14/subprocess.py", line 578, in run
# | raise CalledProcessError(retcode, process.args,
# | output=stdout, stderr=stderr)
# | subprocess.CalledProcessError: Command '['FileCheck',
'-input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/redundant-branch-condition.cpp.tmp.cpp.msg',
'/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/redundant-branch-condition.cpp',
'-check-prefixes=CHECK-MESSAGES', '-implicit-check-not={{warning|error}}:']'
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/230846
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits