public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Fix 'make clang-tidy' with clang-tidy 23
@ 2026-11-20  1:32 Jon Maloy
  2026-11-20  1:32 ` [PATCH 1/3] clang-tidy: Also disable bugprone-signed-bitwise Jon Maloy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jon Maloy @ 2026-11-20  1:32 UTC (permalink / raw)
  To: sbrivio, david, jmaloy, passt-dev

Fedora 45 ships clang-tidy 23.1.5, which breaks 'make clang-tidy' for
three reasons: clang-tidy 23 dropped the hicpp module, so our
existing exclusion for hicpp-signed-bitwise no longer applies to the
check, now called bugprone-signed-bitwise; it adds a few new checks
that don't fit our coding style; and an existing check now flags some
redundant parentheses in passt-repair.

Patches 1 and 2 adjust .clang-tidy, patch 3 fixes passt-repair.c.
With these, 'make clang-tidy' passes again for passt, passt-repair
and pesto, and nothing changes for older clang-tidy versions.

Jon Maloy (3):
  clang-tidy: Also disable bugprone-signed-bitwise
  clang-tidy: Disable checks new in clang-tidy 23
  passt-repair: Drop redundant parentheses around stat() calls

 .clang-tidy    | 18 ++++++++++++++++--
 passt-repair.c |  4 ++--
 2 files changed, 18 insertions(+), 4 deletions(-)

-- 
2.56.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-20  1:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20  1:32 [PATCH 0/3] Fix 'make clang-tidy' with clang-tidy 23 Jon Maloy
2026-11-20  1:32 ` [PATCH 1/3] clang-tidy: Also disable bugprone-signed-bitwise Jon Maloy
2026-11-20  1:32 ` [PATCH 2/3] clang-tidy: Disable checks new in clang-tidy 23 Jon Maloy
2026-11-20  1:32 ` [PATCH 3/3] passt-repair: Drop redundant parentheses around stat() calls Jon Maloy

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).