mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
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:
@@ -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,
|
||||
|
||||
2
.github/scripts/install_deps.sh
vendored
2
.github/scripts/install_deps.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user