xref: /aosp_15_r20/external/ot-br-posix/.clang-format (revision 4a64e381480ef79f0532b2421e44e6ee336b8e0d)
1*4a64e381SAndroid Build Coastguard Worker---
2*4a64e381SAndroid Build Coastguard WorkerLanguage:        Cpp
3*4a64e381SAndroid Build Coastguard Worker# BasedOnStyle:  LLVM
4*4a64e381SAndroid Build Coastguard WorkerAccessModifierOffset: -4
5*4a64e381SAndroid Build Coastguard WorkerAlignAfterOpenBracket: Align
6*4a64e381SAndroid Build Coastguard WorkerAlignConsecutiveAssignments: true
7*4a64e381SAndroid Build Coastguard WorkerAlignConsecutiveDeclarations: true
8*4a64e381SAndroid Build Coastguard WorkerAlignEscapedNewlines: Left
9*4a64e381SAndroid Build Coastguard WorkerAlignOperands:   true
10*4a64e381SAndroid Build Coastguard WorkerAlignTrailingComments: true
11*4a64e381SAndroid Build Coastguard WorkerAllowAllParametersOfDeclarationOnNextLine: false
12*4a64e381SAndroid Build Coastguard WorkerAllowShortBlocksOnASingleLine: false
13*4a64e381SAndroid Build Coastguard WorkerAllowShortCaseLabelsOnASingleLine: false
14*4a64e381SAndroid Build Coastguard WorkerAllowShortFunctionsOnASingleLine: InlineOnly
15*4a64e381SAndroid Build Coastguard WorkerAllowShortIfStatementsOnASingleLine: false
16*4a64e381SAndroid Build Coastguard WorkerAllowShortLoopsOnASingleLine: true
17*4a64e381SAndroid Build Coastguard WorkerAlwaysBreakAfterDefinitionReturnType: None
18*4a64e381SAndroid Build Coastguard WorkerAlwaysBreakAfterReturnType: None
19*4a64e381SAndroid Build Coastguard WorkerAlwaysBreakBeforeMultilineStrings: false
20*4a64e381SAndroid Build Coastguard WorkerAlwaysBreakTemplateDeclarations: false
21*4a64e381SAndroid Build Coastguard WorkerBinPackArguments: true
22*4a64e381SAndroid Build Coastguard WorkerBinPackParameters: false
23*4a64e381SAndroid Build Coastguard WorkerBraceWrapping:
24*4a64e381SAndroid Build Coastguard Worker  AfterCaseLabel:  true
25*4a64e381SAndroid Build Coastguard Worker  AfterClass:      true
26*4a64e381SAndroid Build Coastguard Worker  AfterControlStatement: true
27*4a64e381SAndroid Build Coastguard Worker  AfterEnum:       true
28*4a64e381SAndroid Build Coastguard Worker  AfterFunction:   true
29*4a64e381SAndroid Build Coastguard Worker  AfterNamespace:  false
30*4a64e381SAndroid Build Coastguard Worker  AfterObjCDeclaration: false
31*4a64e381SAndroid Build Coastguard Worker  AfterStruct:     true
32*4a64e381SAndroid Build Coastguard Worker  AfterUnion:      true
33*4a64e381SAndroid Build Coastguard Worker  BeforeCatch:     false
34*4a64e381SAndroid Build Coastguard Worker  BeforeElse:      true
35*4a64e381SAndroid Build Coastguard Worker  IndentBraces:    false
36*4a64e381SAndroid Build Coastguard Worker  SplitEmptyFunction: true
37*4a64e381SAndroid Build Coastguard Worker  SplitEmptyRecord: true
38*4a64e381SAndroid Build Coastguard Worker  SplitEmptyNamespace: true
39*4a64e381SAndroid Build Coastguard WorkerBreakBeforeBinaryOperators: None
40*4a64e381SAndroid Build Coastguard WorkerBreakBeforeBraces: Custom
41*4a64e381SAndroid Build Coastguard WorkerBreakBeforeInheritanceComma: false
42*4a64e381SAndroid Build Coastguard WorkerBreakBeforeTernaryOperators: true
43*4a64e381SAndroid Build Coastguard WorkerBreakConstructorInitializersBeforeComma: false
44*4a64e381SAndroid Build Coastguard WorkerBreakConstructorInitializers: BeforeComma
45*4a64e381SAndroid Build Coastguard WorkerBreakAfterJavaFieldAnnotations: false
46*4a64e381SAndroid Build Coastguard WorkerBreakStringLiterals: true
47*4a64e381SAndroid Build Coastguard WorkerColumnLimit:     120
48*4a64e381SAndroid Build Coastguard WorkerCommentPragmas:  '^ IWYU pragma:'
49*4a64e381SAndroid Build Coastguard WorkerCompactNamespaces: false
50*4a64e381SAndroid Build Coastguard WorkerConstructorInitializerAllOnOneLineOrOnePerLine: false
51*4a64e381SAndroid Build Coastguard WorkerConstructorInitializerIndentWidth: 4
52*4a64e381SAndroid Build Coastguard WorkerContinuationIndentWidth: 4
53*4a64e381SAndroid Build Coastguard WorkerCpp11BracedListStyle: true
54*4a64e381SAndroid Build Coastguard WorkerDerivePointerAlignment: false
55*4a64e381SAndroid Build Coastguard WorkerDisableFormat:   false
56*4a64e381SAndroid Build Coastguard WorkerExperimentalAutoDetectBinPacking: false
57*4a64e381SAndroid Build Coastguard WorkerFixNamespaceComments: true
58*4a64e381SAndroid Build Coastguard WorkerForEachMacros:
59*4a64e381SAndroid Build Coastguard Worker  - foreach
60*4a64e381SAndroid Build Coastguard Worker  - Q_FOREACH
61*4a64e381SAndroid Build Coastguard Worker  - BOOST_FOREACH
62*4a64e381SAndroid Build Coastguard WorkerIncludeCategories:
63*4a64e381SAndroid Build Coastguard Worker  - Regex:           '^<openthread/.*/'
64*4a64e381SAndroid Build Coastguard Worker    Priority:        4
65*4a64e381SAndroid Build Coastguard Worker  - Regex:           '^<openthread/'
66*4a64e381SAndroid Build Coastguard Worker    Priority:        3
67*4a64e381SAndroid Build Coastguard Worker  - Regex:           '^<'
68*4a64e381SAndroid Build Coastguard Worker    Priority:        2
69*4a64e381SAndroid Build Coastguard Worker  - Regex:           '^".*/'
70*4a64e381SAndroid Build Coastguard Worker    Priority:        5
71*4a64e381SAndroid Build Coastguard Worker  - Regex:           '^"'
72*4a64e381SAndroid Build Coastguard Worker    Priority:        1
73*4a64e381SAndroid Build Coastguard WorkerIncludeIsMainRegex: '(Test)?$'
74*4a64e381SAndroid Build Coastguard WorkerIndentCaseLabels: false
75*4a64e381SAndroid Build Coastguard WorkerIndentWidth:     4
76*4a64e381SAndroid Build Coastguard WorkerIndentWrappedFunctionNames: false
77*4a64e381SAndroid Build Coastguard WorkerJavaScriptQuotes: Leave
78*4a64e381SAndroid Build Coastguard WorkerJavaScriptWrapImports: true
79*4a64e381SAndroid Build Coastguard WorkerKeepEmptyLinesAtTheStartOfBlocks: false
80*4a64e381SAndroid Build Coastguard WorkerMacroBlockBegin: ''
81*4a64e381SAndroid Build Coastguard WorkerMacroBlockEnd:   ''
82*4a64e381SAndroid Build Coastguard WorkerMaxEmptyLinesToKeep: 1
83*4a64e381SAndroid Build Coastguard WorkerNamespaceIndentation: None
84*4a64e381SAndroid Build Coastguard WorkerObjCBlockIndentWidth: 2
85*4a64e381SAndroid Build Coastguard WorkerObjCSpaceAfterProperty: false
86*4a64e381SAndroid Build Coastguard WorkerObjCSpaceBeforeProtocolList: true
87*4a64e381SAndroid Build Coastguard WorkerPenaltyBreakAssignment: 2
88*4a64e381SAndroid Build Coastguard WorkerPenaltyBreakBeforeFirstCallParameter: 19
89*4a64e381SAndroid Build Coastguard WorkerPenaltyBreakComment: 300
90*4a64e381SAndroid Build Coastguard WorkerPenaltyBreakFirstLessLess: 120
91*4a64e381SAndroid Build Coastguard WorkerPenaltyBreakString: 1000
92*4a64e381SAndroid Build Coastguard WorkerPenaltyExcessCharacter: 1000000
93*4a64e381SAndroid Build Coastguard WorkerPenaltyReturnTypeOnItsOwnLine: 1000
94*4a64e381SAndroid Build Coastguard WorkerPointerAlignment: Right
95*4a64e381SAndroid Build Coastguard WorkerReflowComments:  true
96*4a64e381SAndroid Build Coastguard WorkerSortIncludes:    true
97*4a64e381SAndroid Build Coastguard WorkerSortUsingDeclarations: true
98*4a64e381SAndroid Build Coastguard WorkerSpaceAfterCStyleCast: false
99*4a64e381SAndroid Build Coastguard WorkerSpaceAfterTemplateKeyword: true
100*4a64e381SAndroid Build Coastguard WorkerSpaceBeforeAssignmentOperators: true
101*4a64e381SAndroid Build Coastguard WorkerSpaceBeforeParens: ControlStatements
102*4a64e381SAndroid Build Coastguard WorkerSpaceInEmptyParentheses: false
103*4a64e381SAndroid Build Coastguard WorkerSpacesBeforeTrailingComments: 1
104*4a64e381SAndroid Build Coastguard WorkerSpacesInAngles:  false
105*4a64e381SAndroid Build Coastguard WorkerSpacesInContainerLiterals: true
106*4a64e381SAndroid Build Coastguard WorkerSpacesInCStyleCastParentheses: false
107*4a64e381SAndroid Build Coastguard WorkerSpacesInParentheses: false
108*4a64e381SAndroid Build Coastguard WorkerSpacesInSquareBrackets: false
109*4a64e381SAndroid Build Coastguard WorkerStandard:        Cpp11
110*4a64e381SAndroid Build Coastguard WorkerTabWidth:        4
111*4a64e381SAndroid Build Coastguard WorkerUseTab:          Never
112*4a64e381SAndroid Build Coastguard Worker...
113*4a64e381SAndroid Build Coastguard Worker
114