github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3083 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/readability/isolate-declaration-fixing.cpp</summary>
```
Exit Code: 0
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/readability/isolate-declaration-fixing.cpp
readability-isolate-declaration
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.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
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/isolate-declaration-fixing.cpp
readability-isolate-declaration
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.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/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp',
'-fix', '--checks=-*,readability-isolate-declaration', '--config={}', '--',
'-std=c++11', '-nostdinc++']...
# | ------------------------ clang-tidy output -----------------------
# | 9 warnings generated.
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:13:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 13 | int S::*p = &S::a, S::*const q = &S::a;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:18:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 18 | int /* :: */ S::*pp2 = &S::a, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:23:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 23 | const int S::*r = &S::b, S::*t;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:29:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 29 | int S::*mdpa1[2] = {&S::a, &S::a}, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 34 | int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34: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/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:39:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 39 | void (S::*mdfp1)() = &S::f, (S::*mdfp2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:44:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 44 | void (S::*mdfpa1[2])() = {&S::f, &S::f}, (S::*mdfpa2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:49:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 49 | void (S::* * mdfpa3[2])() = {&mdfpa1[0], &mdfpa1[1]},
(S::*mdfpa4)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:60:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | clang-tidy applied 1 of 1 suggested fixes.
# | 60 | int const CS ::*pp = &CS::a, CS::*const qq = &CS::a;
# | | ^
# |
# | ------------------------------------------------------------------
# | diff -u
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
failed:
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.270305406 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.286305393 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------ Fixes -----------------------------
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.270305406 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.286305393 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------------------------------------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp',
'-fix', '--checks=-*,readability-isolate-declaration', '--config={}', '--',
'-std=c++14', '-nostdinc++']...
# | ------------------------ clang-tidy output -----------------------
# | 9 warnings generated.
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:13:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 13 | int S::*p = &S::a, S::*const q = &S::a;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:18:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 18 | int /* :: */ S::*pp2 = &S::a, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:23:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 23 | const int S::*r = &S::b, S::*t;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:29:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 29 | int S::*mdpa1[2] = {&S::a, &S::a}, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 34 | int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34: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/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:39:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 39 | void (S::*mdfp1)() = &S::f, (S::*mdfp2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:44:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 44 | void (S::*mdfpa1[2])() = {&S::f, &S::f}, (S::*mdfpa2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:49:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 49 | void (S::* * mdfpa3[2])() = {&mdfpa1[0], &mdfpa1[1]},
(S::*mdfpa4)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:60:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | clang-tidy applied 1 of 1 suggested fixes.
# | 60 | int const CS ::*pp = &CS::a, CS::*const qq = &CS::a;
# | | ^
# |
# | ------------------------------------------------------------------
# | diff -u
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
failed:
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.294305386 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.324305361 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------ Fixes -----------------------------
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.294305386 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.324305361 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------------------------------------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp',
'-fix', '--checks=-*,readability-isolate-declaration', '--config={}', '--',
'-std=c++17', '-nostdinc++']...
# | ------------------------ clang-tidy output -----------------------
# | 9 warnings generated.
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:13:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 13 | int S::*p = &S::a, S::*const q = &S::a;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:18:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 18 | int /* :: */ S::*pp2 = &S::a, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:23:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 23 | const int S::*r = &S::b, S::*t;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:29:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 29 | int S::*mdpa1[2] = {&S::a, &S::a}, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 34 | int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34: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/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:39:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 39 | void (S::*mdfp1)() = &S::f, (S::*mdfp2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:44:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 44 | void (S::*mdfpa1[2])() = {&S::f, &S::f}, (S::*mdfpa2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:49:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 49 | void (S::* * mdfpa3[2])() = {&mdfpa1[0], &mdfpa1[1]},
(S::*mdfpa4)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:60:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | clang-tidy applied 1 of 1 suggested fixes.
# | 60 | int const CS ::*pp = &CS::a, CS::*const qq = &CS::a;
# | | ^
# |
# | ------------------------------------------------------------------
# | diff -u
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
failed:
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.333305353 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.350305340 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------ Fixes -----------------------------
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.333305353 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.350305340 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------------------------------------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp',
'-fix', '--checks=-*,readability-isolate-declaration', '--config={}', '--',
'-std=c++20', '-nostdinc++']...
# | ------------------------ clang-tidy output -----------------------
# | 9 warnings generated.
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:13:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 13 | int S::*p = &S::a, S::*const q = &S::a;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:18:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 18 | int /* :: */ S::*pp2 = &S::a, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:23:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 23 | const int S::*r = &S::b, S::*t;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:29:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 29 | int S::*mdpa1[2] = {&S::a, &S::a}, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 34 | int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34: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/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:39:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 39 | void (S::*mdfp1)() = &S::f, (S::*mdfp2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:44:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 44 | void (S::*mdfpa1[2])() = {&S::f, &S::f}, (S::*mdfpa2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:49:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 49 | void (S::* * mdfpa3[2])() = {&mdfpa1[0], &mdfpa1[1]},
(S::*mdfpa4)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:60:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | clang-tidy applied 1 of 1 suggested fixes.
# | 60 | int const CS ::*pp = &CS::a, CS::*const qq = &CS::a;
# | | ^
# |
# | ------------------------------------------------------------------
# | diff -u
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
failed:
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.359305332 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.374305320 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------ Fixes -----------------------------
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.359305332 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.374305320 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------------------------------------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp',
'-fix', '--checks=-*,readability-isolate-declaration', '--config={}', '--',
'-std=c++23', '-nostdinc++']...
# | ------------------------ clang-tidy output -----------------------
# | 9 warnings generated.
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:13:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 13 | int S::*p = &S::a, S::*const q = &S::a;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:18:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 18 | int /* :: */ S::*pp2 = &S::a, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:23:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 23 | const int S::*r = &S::b, S::*t;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:29:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 29 | int S::*mdpa1[2] = {&S::a, &S::a}, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 34 | int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34: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/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:39:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 39 | void (S::*mdfp1)() = &S::f, (S::*mdfp2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:44:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 44 | void (S::*mdfpa1[2])() = {&S::f, &S::f}, (S::*mdfpa2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:49:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 49 | void (S::* * mdfpa3[2])() = {&mdfpa1[0], &mdfpa1[1]},
(S::*mdfpa4)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:60:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | clang-tidy applied 1 of 1 suggested fixes.
# | 60 | int const CS ::*pp = &CS::a, CS::*const qq = &CS::a;
# | | ^
# |
# | ------------------------------------------------------------------
# | diff -u
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
failed:
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.382305313 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.401305297 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------ Fixes -----------------------------
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.382305313 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.401305297 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------------------------------------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp',
'-fix', '--checks=-*,readability-isolate-declaration', '--config={}', '--',
'-std=c++26', '-nostdinc++']...
# | ------------------------ clang-tidy output -----------------------
# | 9 warnings generated.
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:13:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 13 | int S::*p = &S::a, S::*const q = &S::a;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:18:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 18 | int /* :: */ S::*pp2 = &S::a, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:23:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 23 | const int S::*r = &S::b, S::*t;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:29:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 29 | int S::*mdpa1[2] = {&S::a, &S::a}, var1 = 0;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 34 | int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:34: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/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:39:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 39 | void (S::*mdfp1)() = &S::f, (S::*mdfp2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:44:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 44 | void (S::*mdfpa1[2])() = {&S::f, &S::f}, (S::*mdfpa2)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:49:5:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | 49 | void (S::* * mdfpa3[2])() = {&mdfpa1[0], &mdfpa1[1]},
(S::*mdfpa4)() = &S::f;
# | | ^
# |
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp:60:3:
warning: multiple declarations in a single statement reduces readability
[readability-isolate-declaration]
# | clang-tidy applied 1 of 1 suggested fixes.
# | 60 | int const CS ::*pp = &CS::a, CS::*const qq = &CS::a;
# | | ^
# |
# | ------------------------------------------------------------------
# | diff -u
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
failed:
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.410305290 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.423305279 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------ Fixes -----------------------------
# | ---
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.orig
2026-01-21 05:01:14.410305290 +0000
# | +++
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/readability/Output/isolate-declaration-fixing.cpp.tmp.cpp
2026-01-21 05:01:14.423305279 +0000
# | @@ -31,7 +31,8 @@
# | //
# | //
# |
# | - int S ::**mdpa2[2] = {&p, &pp2}, var2 = 0;
# | + int S ::* *mdpa2[2] = {&p, &pp2};
# | + int S ::* var2 = 0;
# | //
# | //
# | //
# |
# | ------------------------------------------------------------------
# `-----------------------------
--
```
</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/175735
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits