Open igagis opened 1 year ago
@llvm/issue-subscribers-clang-tidy
Could you please try 15 or main
branch? 11 is too old.
Given that you are using 2 different versions of clang-tidy and checking different architectures it's not surprising that the outputs differ. To work on this we'd need a minimal reproducer on the latest release would be needed.
Some more examples:
https://github.com/cppfw/morda/actions/runs/5106008866
consider succeeded job linux - debian:bullseye
and failed job linux - arm32v7/debian:bullseye
.
For example this finding:
https://github.com/cppfw/morda/actions/runs/5106008866/jobs/9177945777#step:17:65
it is pretty obvious one:
/home/cppfw/.config/github-act-runner/runners/xu4r3/src/morda/widgets/button/drop_down_box.hpp:50:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors]
provider() {}
^ ~~
= default;
but on amd64
build it is not found, only found on arm32v7
build.
Maybe there are different versions of clang-tidy
, though I install them from the same debian
repo:
deb https://apt.llvm.org/bullseye llvm-toolchain-bullseye main
If arm
version of clang-tidy
is older than amd64
one, but it finds issues not found by the new one, then it is a regression.
P.S. sorry, I have no time for making minimal reproducer. Just wanted to let you know about the issue.
It looks strange, but I observe that
clang-tidy
ran onarm32
architecture finds more issues than when run onamd64
architecture.Here is the Github Actions runs of one of my repos: https://github.com/cppfw/utki/actions/runs/3353311467
look for jobs named
sanitizer
:sanitizer - debian:bullseye
- job run onamd64
, passes, no issues found.sanitizer - arm32v7/debian:bullseye
- job run onarm32
architecture, some issues found by clang-tidy.And this is not specific to only one clang-tidy check, there are other CI runs showing the same thing for different checks: https://github.com/cppfw/utki/actions/runs/3353259128 https://github.com/cppfw/utki/actions/runs/3353224810 https://github.com/cppfw/utki/actions/runs/3353165186
Version of
clang-tidy
installed is:and
i.e. on
arm32
the version is older, but finds more issues. Regression?