diff options
author | Felix Buehler <account@buehler.rocks> | 2018-07-08 13:44:02 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2018-07-08 13:48:28 +0200 |
commit | a40d7d928f2a24dcb4b9eeae0997f143f4651191 (patch) | |
tree | dce313338ccaac443750ffba594efd152d0be017 | |
parent | c5ad20bf50ca0e28d5e21395c06496b0ded74b00 (diff) |
switch to clang 3.8 & ignore sort oder of includes
-rw-r--r-- | .clang-format | 1 | ||||
-rw-r--r-- | .travis.yml | 4 |
2 files changed, 3 insertions, 2 deletions
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 |