xref: /aosp_15_r20/external/webrtc/.clang-format (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1# Defines the Chromium style for automatic reformatting.
2# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
3BasedOnStyle: Chromium
4---
5Language: Java
6BasedOnStyle: Google
7---
8Language: ObjC
9BasedOnStyle: Google
10BinPackParameters: false
11BinPackArguments: false
12ColumnLimit: 100
13ObjCBlockIndentWidth: 2
14AllowAllParametersOfDeclarationOnNextLine: true
15AlignOperands: false
16AlwaysBreakBeforeMultilineStrings: false
17AllowShortFunctionsOnASingleLine: Inline
18BreakBeforeTernaryOperators: false
19IndentWrappedFunctionNames: true
20ContinuationIndentWidth: 4
21ObjCSpaceBeforeProtocolList: true
22---
23Language: Cpp
24IncludeBlocks: Regroup
25