mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00

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}
21 lines
588 B
YAML
21 lines
588 B
YAML
# Defines the Chromium style for automatic reformatting.
|
|
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
BasedOnStyle: Chromium
|
|
---
|
|
Language: Java
|
|
BasedOnStyle: Google
|
|
---
|
|
Language: ObjC
|
|
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
|