clang: upgrade to clang-10
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I53413a2c857a7f6b4a32694d308e7d357e92dc18
diff --git a/scripts/format-code.sh b/scripts/format-code.sh
index 762ea31..dc378f8 100755
--- a/scripts/format-code.sh
+++ b/scripts/format-code.sh
@@ -25,7 +25,7 @@
fi
# Allow called scripts to know which clang format we are using
-export CLANG_FORMAT="clang-format-8"
+export CLANG_FORMAT="clang-format-10"
IGNORE_FILE=".clang-ignore"
declare -a IGNORE_LIST
diff --git a/scripts/unit-test.py b/scripts/unit-test.py
index 05bec87..95021cb 100755
--- a/scripts/unit-test.py
+++ b/scripts/unit-test.py
@@ -730,7 +730,7 @@
return
if os.path.isfile('.clang-tidy'):
- check_call_cmd('run-clang-tidy-8.py', '-p', '.')
+ check_call_cmd('run-clang-tidy-10.py', '-p', '.')
maybe_make_valgrind()
maybe_make_coverage()
run_cppcheck()
@@ -893,7 +893,7 @@
# Run clang-tidy only if the project has a configuration
if os.path.isfile('.clang-tidy'):
- check_call_cmd('run-clang-tidy-8.py', '-p',
+ check_call_cmd('run-clang-tidy-10.py', '-p',
'build')
# Run the basic clang static analyzer otherwise
else: