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