From d961e7ddf1f6c83a7a1a93652974f35f8b2be349 Mon Sep 17 00:00:00 2001 From: Peter Wolf Date: Sat, 20 Feb 2021 17:03:11 +0100 Subject: [PATCH] update clang-tidy config --- .clang-tidy | 2 +- clean.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index fcb3be5..0ef7abf 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,6 +1,6 @@ --- # enable all checks except the named ones (they are subtracted): -Checks: '*,-android-*,-fuchsia-*,-google-*,-zircon-*,-abseil-*,-llvm-*,-objc-*,-modernize-use-trailing-return-type' +Checks: '*,-android-*,-fuchsia-*,-google-*,-zircon-*,-abseil-*,-llvm-*,-llvmlibc-*,-objc-*,-modernize-use-trailing-return-type' # no warning as errors WarningsAsErrors: '' diff --git a/clean.sh b/clean.sh index 9def20b..e6954c0 100755 --- a/clean.sh +++ b/clean.sh @@ -8,6 +8,10 @@ if [[ -d ./install ]]; then rm -rf ./install fi +if [[ -d ./.clangd ]]; then + rm -rf ./.clangd +fi + if [[ -L compile_commands.json ]]; then rm compile_commands.json fi