diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-02 20:40:28 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-02 20:55:54 -0400 |
commit | 0105368cc122c8aabfd60ebda3498c7666aef29c (patch) | |
tree | cd00f1ab6a31ea154b2314ac7a36ec0f49dd87d4 | |
parent | 05781ce8c4dd4d4150185effac56ef9a71ae2705 (diff) |
ci: Make use of clang-format 10.0
10.0 seems to play nicer with C++ attributes compared to clang-format
6.0.
-rw-r--r-- | .ci/scripts/format/script.sh | 2 | ||||
-rwxr-xr-x | .travis/clang-format/script.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.ci/scripts/format/script.sh b/.ci/scripts/format/script.sh index 5ab828d5e..991fe1552 100644 --- a/.ci/scripts/format/script.sh +++ b/.ci/scripts/format/script.sh @@ -7,7 +7,7 @@ if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dis 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 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 |