Tune ObjC clang-format configuration

This CL sets some options for ObjC in the .clang-format file to closer
match our style guide.

NOTRY=True
BUG=webrtc:7406

Review-Url: https://codereview.webrtc.org/2869593002
Cr-Commit-Position: refs/heads/master@{#18092}
This commit is contained in:
magjed 2017-05-11 02:14:18 -07:00 committed by Commit bot
parent 221cc56684
commit 198a9300cd

View file

@ -6,5 +6,16 @@ Language: Java
BasedOnStyle: Google BasedOnStyle: Google
--- ---
Language: ObjC Language: ObjC
ColumnLimit: 100
BasedOnStyle: Google BasedOnStyle: Google
BinPackParameters: false
BinPackArguments: false
ColumnLimit: 100
ObjCBlockIndentWidth: 2
AllowAllParametersOfDeclarationOnNextLine: true
AlignOperands: false
AlwaysBreakBeforeMultilineStrings: false
AllowShortFunctionsOnASingleLine: Inline
BreakBeforeTernaryOperators: false
IndentWrappedFunctionNames: true
ContinuationIndentWidth: 4
ObjCSpaceBeforeProtocolList: true