From 8f05bb780afa9947b87a5559486ccdee6857f4ff Mon Sep 17 00:00:00 2001 From: FearlessTobi Date: Sat, 8 Aug 2020 18:54:49 +0200 Subject: [PATCH] ci: Make use of clang-format 10.0 10.0 seems to play nicer with C++ attributes compared to clang-format 6.0. --- .travis/clang-format/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/clang-format/script.sh b/.travis/clang-format/script.sh index 3eff6322f..56a785fe0 100755 --- a/.travis/clang-format/script.sh +++ b/.travis/clang-format/script.sh @@ -7,7 +7,7 @@ if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis* fi # Default clang-format points to default 3.5 version one -CLANG_FORMAT=clang-format-6.0 +CLANG_FORMAT=clang-format-10.0 $CLANG_FORMAT --version if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then