build: noisy readability-implicit-bool-conversion warning #38282

Problem:
clangd shows `Implicit conversion 'int' -> 'bool'` warnings.
This is mostly noise in this codebase.

Solution:
- Disable the warning.
- Get latest clang-tidy in CI.
This commit is contained in:
Justin M. Keyes
2026-03-13 09:02:22 -04:00
committed by GitHub
parent 6766e6104f
commit f51c54ace6
2 changed files with 3 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ Checks: >
-readability-else-after-return,
-readability-enum-initial-value,
-readability-function-size,
-readability-implicit-bool-conversion,
-readability-isolate-declaration,
Warnings that are rarely useful,

View File

@@ -28,6 +28,8 @@ if [[ $OS == Linux ]]; then
sudo ./llvm.sh $CLANG_VERSION
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-$CLANG_VERSION 100
sudo update-alternatives --set clang /usr/bin/clang-$CLANG_VERSION
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-$CLANG_VERSION 100
sudo update-alternatives --set clang-tidy /usr/bin/clang-tidy-$CLANG_VERSION
fi
if [[ -n $TEST ]]; then