Updated to latest clang-format
[ci skip]
This commit is contained in:
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
Language: Cpp
|
|
||||||
BasedOnStyle: Google
|
BasedOnStyle: Google
|
||||||
Standard: Cpp11
|
Standard: Cpp11
|
||||||
ColumnLimit: 0
|
ColumnLimit: 0
|
||||||
@ -10,4 +9,8 @@ AlwaysBreakBeforeMultilineStrings: false
|
|||||||
AccessModifierOffset: -2
|
AccessModifierOffset: -2
|
||||||
ObjCSpaceBeforeProtocolList: true
|
ObjCSpaceBeforeProtocolList: true
|
||||||
SortIncludes: false
|
SortIncludes: false
|
||||||
|
---
|
||||||
|
Language: Cpp
|
||||||
|
---
|
||||||
|
Language: ObjC
|
||||||
...
|
...
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
# brew install clang-format
|
# brew install clang-format
|
||||||
|
|
||||||
CLANG_FORMAT_VERSION=`clang-format -version | awk '{ print $3 }'`
|
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"
|
echo "Unsupported clang-format version"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user