forked from microsoft/MixedReality-WebRTC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
27 lines (27 loc) · 788 Bytes
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
#
# Follow the official WebRTC style for consistency, except for include blocks
# which are preserved (headers are sorted within a block).
# See http://clang.llvm.org/docs/ClangFormatStyleOptions.html for reference.
#
BasedOnStyle: Chromium
IncludeBlocks: Preserve
---
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