From: Felix Buehler Date: Sun, 8 Jul 2018 11:44:02 +0000 (+0200) Subject: switch to clang 3.8 & ignore sort oder of includes X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a40d7d928f2a24dcb4b9eeae0997f143f4651191;p=i3%2Fi3status switch to clang 3.8 & ignore sort oder of includes --- diff --git a/.clang-format b/.clang-format index 1d84013..6e49d83 100644 --- a/.clang-format +++ b/.clang-format @@ -8,3 +8,4 @@ IndentWidth: 4 PointerBindsToType: false ColumnLimit: 0 SpaceBeforeParens: ControlStatements +SortIncludes: false diff --git a/.travis.yml b/.travis.yml index 71bc279..05d1703 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,9 +17,9 @@ addons: # xmlto pulls in a2x which we need for generating manpages from asciidoc. - xmlto - libcap2-bin - - clang-format-3.5 + - clang-format-3.8 - libllvm3.5 script: - make -j - - clang-format-3.5 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false) + - clang-format-3.8 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false) - make test