Updated to latest clang-format

[ci skip]
This commit is contained in:
Pierre-Olivier Latour
2017-06-22 08:09:41 -07:00
parent fbcf3fa96c
commit 2685819b61
5 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,4 @@
---
Language: Cpp
BasedOnStyle: Google
Standard: Cpp11
ColumnLimit: 0
@ -10,4 +9,8 @@ AlwaysBreakBeforeMultilineStrings: false
AccessModifierOffset: -2
ObjCSpaceBeforeProtocolList: true
SortIncludes: false
---
Language: Cpp
---
Language: ObjC
...

View File

@ -3,7 +3,7 @@
# brew install clang-format
CLANG_FORMAT_VERSION=`clang-format -version | awk '{ print $3 }'`
if [[ "$CLANG_FORMAT_VERSION" != "4.0.0" ]]; then
if [[ "$CLANG_FORMAT_VERSION" != "5.0.0" ]]; then
echo "Unsupported clang-format version"
exit 1
fi