Explorar o código

ci: Make use of clang-format 10.0

10.0 seems to play nicer with C++ attributes compared to clang-format
6.0.
Lioncash %!s(int64=6) %!d(string=hai) anos
pai
achega
0105368cc1
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      .ci/scripts/format/script.sh
  2. 1 1
      .travis/clang-format/script.sh

+ 1 - 1
.ci/scripts/format/script.sh

@@ -7,7 +7,7 @@ if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dis
 fi
 fi
 
 
 # Default clang-format points to default 3.5 version one
 # 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
 $CLANG_FORMAT --version
 
 
 if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then
 if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then

+ 1 - 1
.travis/clang-format/script.sh

@@ -7,7 +7,7 @@ if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis*
 fi
 fi
 
 
 # Default clang-format points to default 3.5 version one
 # 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
 $CLANG_FORMAT --version
 
 
 if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then
 if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then