Skip to content

Commit 198a930

Browse files
Hnoo112233Commit bot
authored and
Commit bot
committed
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}
1 parent 221cc56 commit 198a930

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.clang-format

+12-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,16 @@ Language: Java
66
BasedOnStyle: Google
77
---
88
Language: ObjC
9-
ColumnLimit: 100
109
BasedOnStyle: Google
10+
BinPackParameters: false
11+
BinPackArguments: false
12+
ColumnLimit: 100
13+
ObjCBlockIndentWidth: 2
14+
AllowAllParametersOfDeclarationOnNextLine: true
15+
AlignOperands: false
16+
AlwaysBreakBeforeMultilineStrings: false
17+
AllowShortFunctionsOnASingleLine: Inline
18+
BreakBeforeTernaryOperators: false
19+
IndentWrappedFunctionNames: true
20+
ContinuationIndentWidth: 4
21+
ObjCSpaceBeforeProtocolList: true

0 commit comments

Comments
 (0)