xref: /aosp_15_r20/external/libavc/.clang-format (revision 495ae853bb871d1e5a258cb02c2cc13cde8ddb9a)
1*495ae853SAndroid Build Coastguard Worker---
2*495ae853SAndroid Build Coastguard WorkerLanguage:        Cpp
3*495ae853SAndroid Build Coastguard Worker# BasedOnStyle:  Google
4*495ae853SAndroid Build Coastguard WorkerAccessModifierOffset: -1
5*495ae853SAndroid Build Coastguard WorkerAlignAfterOpenBracket: Align
6*495ae853SAndroid Build Coastguard WorkerAlignConsecutiveMacros: None
7*495ae853SAndroid Build Coastguard WorkerAlignConsecutiveAssignments: None
8*495ae853SAndroid Build Coastguard WorkerAlignConsecutiveBitFields: None
9*495ae853SAndroid Build Coastguard WorkerAlignConsecutiveDeclarations: None
10*495ae853SAndroid Build Coastguard WorkerAlignEscapedNewlines: Left
11*495ae853SAndroid Build Coastguard WorkerAlignOperands:   Align
12*495ae853SAndroid Build Coastguard WorkerAlignTrailingComments: true
13*495ae853SAndroid Build Coastguard WorkerAllowAllArgumentsOnNextLine: true
14*495ae853SAndroid Build Coastguard WorkerAllowAllConstructorInitializersOnNextLine: true
15*495ae853SAndroid Build Coastguard WorkerAllowAllParametersOfDeclarationOnNextLine: true
16*495ae853SAndroid Build Coastguard WorkerAllowShortEnumsOnASingleLine: true
17*495ae853SAndroid Build Coastguard WorkerAllowShortBlocksOnASingleLine: Never
18*495ae853SAndroid Build Coastguard WorkerAllowShortCaseLabelsOnASingleLine: false
19*495ae853SAndroid Build Coastguard WorkerAllowShortFunctionsOnASingleLine: All
20*495ae853SAndroid Build Coastguard WorkerAllowShortLambdasOnASingleLine: All
21*495ae853SAndroid Build Coastguard WorkerAllowShortIfStatementsOnASingleLine: WithoutElse
22*495ae853SAndroid Build Coastguard WorkerAllowShortLoopsOnASingleLine: true
23*495ae853SAndroid Build Coastguard WorkerAlwaysBreakAfterDefinitionReturnType: None
24*495ae853SAndroid Build Coastguard WorkerAlwaysBreakAfterReturnType: None
25*495ae853SAndroid Build Coastguard WorkerAlwaysBreakBeforeMultilineStrings: true
26*495ae853SAndroid Build Coastguard WorkerAlwaysBreakTemplateDeclarations: Yes
27*495ae853SAndroid Build Coastguard WorkerAttributeMacros:
28*495ae853SAndroid Build Coastguard Worker  - __capability
29*495ae853SAndroid Build Coastguard WorkerBinPackArguments: true
30*495ae853SAndroid Build Coastguard WorkerBinPackParameters: true
31*495ae853SAndroid Build Coastguard WorkerBraceWrapping:
32*495ae853SAndroid Build Coastguard Worker  AfterCaseLabel:  true
33*495ae853SAndroid Build Coastguard Worker  AfterClass:      false
34*495ae853SAndroid Build Coastguard Worker  AfterControlStatement: Always
35*495ae853SAndroid Build Coastguard Worker  AfterEnum:       true
36*495ae853SAndroid Build Coastguard Worker  AfterFunction:   true
37*495ae853SAndroid Build Coastguard Worker  AfterNamespace:  true
38*495ae853SAndroid Build Coastguard Worker  AfterObjCDeclaration: true
39*495ae853SAndroid Build Coastguard Worker  AfterStruct:     true
40*495ae853SAndroid Build Coastguard Worker  AfterUnion:      true
41*495ae853SAndroid Build Coastguard Worker  AfterExternBlock: true
42*495ae853SAndroid Build Coastguard Worker  BeforeCatch:     true
43*495ae853SAndroid Build Coastguard Worker  BeforeElse:      true
44*495ae853SAndroid Build Coastguard Worker  BeforeLambdaBody: false
45*495ae853SAndroid Build Coastguard Worker  BeforeWhile:     false
46*495ae853SAndroid Build Coastguard Worker  IndentBraces:    false
47*495ae853SAndroid Build Coastguard Worker  SplitEmptyFunction: true
48*495ae853SAndroid Build Coastguard Worker  SplitEmptyRecord: true
49*495ae853SAndroid Build Coastguard Worker  SplitEmptyNamespace: true
50*495ae853SAndroid Build Coastguard WorkerBreakBeforeBinaryOperators: None
51*495ae853SAndroid Build Coastguard WorkerBreakBeforeConceptDeclarations: true
52*495ae853SAndroid Build Coastguard WorkerBreakBeforeBraces: Allman
53*495ae853SAndroid Build Coastguard WorkerBreakBeforeInheritanceComma: false
54*495ae853SAndroid Build Coastguard WorkerBreakInheritanceList: BeforeColon
55*495ae853SAndroid Build Coastguard WorkerBreakBeforeTernaryOperators: true
56*495ae853SAndroid Build Coastguard WorkerBreakConstructorInitializersBeforeComma: false
57*495ae853SAndroid Build Coastguard WorkerBreakConstructorInitializers: BeforeColon
58*495ae853SAndroid Build Coastguard WorkerBreakAfterJavaFieldAnnotations: false
59*495ae853SAndroid Build Coastguard WorkerBreakStringLiterals: true
60*495ae853SAndroid Build Coastguard WorkerColumnLimit:     100
61*495ae853SAndroid Build Coastguard WorkerCommentPragmas:  '^ IWYU pragma:'
62*495ae853SAndroid Build Coastguard WorkerCompactNamespaces: false
63*495ae853SAndroid Build Coastguard WorkerConstructorInitializerAllOnOneLineOrOnePerLine: true
64*495ae853SAndroid Build Coastguard WorkerConstructorInitializerIndentWidth: 4
65*495ae853SAndroid Build Coastguard WorkerContinuationIndentWidth: 4
66*495ae853SAndroid Build Coastguard WorkerCpp11BracedListStyle: true
67*495ae853SAndroid Build Coastguard WorkerDeriveLineEnding: true
68*495ae853SAndroid Build Coastguard WorkerDerivePointerAlignment: true
69*495ae853SAndroid Build Coastguard WorkerDisableFormat:   false
70*495ae853SAndroid Build Coastguard WorkerEmptyLineBeforeAccessModifier: LogicalBlock
71*495ae853SAndroid Build Coastguard WorkerExperimentalAutoDetectBinPacking: false
72*495ae853SAndroid Build Coastguard WorkerFixNamespaceComments: true
73*495ae853SAndroid Build Coastguard WorkerForEachMacros:
74*495ae853SAndroid Build Coastguard Worker  - foreach
75*495ae853SAndroid Build Coastguard Worker  - Q_FOREACH
76*495ae853SAndroid Build Coastguard Worker  - BOOST_FOREACH
77*495ae853SAndroid Build Coastguard WorkerStatementAttributeLikeMacros:
78*495ae853SAndroid Build Coastguard Worker  - Q_EMIT
79*495ae853SAndroid Build Coastguard WorkerIncludeBlocks:   Preserve
80*495ae853SAndroid Build Coastguard WorkerIncludeCategories:
81*495ae853SAndroid Build Coastguard Worker  - Regex:           '^<ext/.*\.h>'
82*495ae853SAndroid Build Coastguard Worker    Priority:        2
83*495ae853SAndroid Build Coastguard Worker    SortPriority:    0
84*495ae853SAndroid Build Coastguard Worker    CaseSensitive:   false
85*495ae853SAndroid Build Coastguard Worker  - Regex:           '^<.*\.h>'
86*495ae853SAndroid Build Coastguard Worker    Priority:        1
87*495ae853SAndroid Build Coastguard Worker    SortPriority:    0
88*495ae853SAndroid Build Coastguard Worker    CaseSensitive:   false
89*495ae853SAndroid Build Coastguard Worker  - Regex:           '^<.*'
90*495ae853SAndroid Build Coastguard Worker    Priority:        2
91*495ae853SAndroid Build Coastguard Worker    SortPriority:    0
92*495ae853SAndroid Build Coastguard Worker    CaseSensitive:   false
93*495ae853SAndroid Build Coastguard Worker  - Regex:           '.*'
94*495ae853SAndroid Build Coastguard Worker    Priority:        3
95*495ae853SAndroid Build Coastguard Worker    SortPriority:    0
96*495ae853SAndroid Build Coastguard Worker    CaseSensitive:   false
97*495ae853SAndroid Build Coastguard WorkerIncludeIsMainRegex: '([-_](test|unittest))?$'
98*495ae853SAndroid Build Coastguard WorkerIncludeIsMainSourceRegex: ''
99*495ae853SAndroid Build Coastguard WorkerIndentCaseLabels: true
100*495ae853SAndroid Build Coastguard WorkerIndentCaseBlocks: false
101*495ae853SAndroid Build Coastguard WorkerIndentGotoLabels: true
102*495ae853SAndroid Build Coastguard WorkerIndentPPDirectives: None
103*495ae853SAndroid Build Coastguard WorkerIndentExternBlock: AfterExternBlock
104*495ae853SAndroid Build Coastguard WorkerIndentRequires:  false
105*495ae853SAndroid Build Coastguard WorkerIndentWidth:     4
106*495ae853SAndroid Build Coastguard WorkerIndentWrappedFunctionNames: false
107*495ae853SAndroid Build Coastguard WorkerInsertTrailingCommas: None
108*495ae853SAndroid Build Coastguard WorkerJavaScriptQuotes: Leave
109*495ae853SAndroid Build Coastguard WorkerJavaScriptWrapImports: true
110*495ae853SAndroid Build Coastguard WorkerKeepEmptyLinesAtTheStartOfBlocks: false
111*495ae853SAndroid Build Coastguard WorkerMacroBlockBegin: ''
112*495ae853SAndroid Build Coastguard WorkerMacroBlockEnd:   ''
113*495ae853SAndroid Build Coastguard WorkerMaxEmptyLinesToKeep: 1
114*495ae853SAndroid Build Coastguard WorkerNamespaceIndentation: None
115*495ae853SAndroid Build Coastguard WorkerObjCBinPackProtocolList: Never
116*495ae853SAndroid Build Coastguard WorkerObjCBlockIndentWidth: 2
117*495ae853SAndroid Build Coastguard WorkerObjCBreakBeforeNestedBlockParam: true
118*495ae853SAndroid Build Coastguard WorkerObjCSpaceAfterProperty: false
119*495ae853SAndroid Build Coastguard WorkerObjCSpaceBeforeProtocolList: true
120*495ae853SAndroid Build Coastguard WorkerPenaltyBreakAssignment: 2
121*495ae853SAndroid Build Coastguard WorkerPenaltyBreakBeforeFirstCallParameter: 1
122*495ae853SAndroid Build Coastguard WorkerPenaltyBreakComment: 300
123*495ae853SAndroid Build Coastguard WorkerPenaltyBreakFirstLessLess: 120
124*495ae853SAndroid Build Coastguard WorkerPenaltyBreakString: 1000
125*495ae853SAndroid Build Coastguard WorkerPenaltyBreakTemplateDeclaration: 10
126*495ae853SAndroid Build Coastguard WorkerPenaltyExcessCharacter: 1000000
127*495ae853SAndroid Build Coastguard WorkerPenaltyReturnTypeOnItsOwnLine: 200
128*495ae853SAndroid Build Coastguard WorkerPenaltyIndentedWhitespace: 0
129*495ae853SAndroid Build Coastguard WorkerPointerAlignment: Right
130*495ae853SAndroid Build Coastguard WorkerRawStringFormats:
131*495ae853SAndroid Build Coastguard Worker  - Language:        Cpp
132*495ae853SAndroid Build Coastguard Worker    Delimiters:
133*495ae853SAndroid Build Coastguard Worker      - cc
134*495ae853SAndroid Build Coastguard Worker      - CC
135*495ae853SAndroid Build Coastguard Worker      - cpp
136*495ae853SAndroid Build Coastguard Worker      - Cpp
137*495ae853SAndroid Build Coastguard Worker      - CPP
138*495ae853SAndroid Build Coastguard Worker      - 'c++'
139*495ae853SAndroid Build Coastguard Worker      - 'C++'
140*495ae853SAndroid Build Coastguard Worker    CanonicalDelimiter: ''
141*495ae853SAndroid Build Coastguard Worker    BasedOnStyle:    google
142*495ae853SAndroid Build Coastguard Worker  - Language:        TextProto
143*495ae853SAndroid Build Coastguard Worker    Delimiters:
144*495ae853SAndroid Build Coastguard Worker      - pb
145*495ae853SAndroid Build Coastguard Worker      - PB
146*495ae853SAndroid Build Coastguard Worker      - proto
147*495ae853SAndroid Build Coastguard Worker      - PROTO
148*495ae853SAndroid Build Coastguard Worker    EnclosingFunctions:
149*495ae853SAndroid Build Coastguard Worker      - EqualsProto
150*495ae853SAndroid Build Coastguard Worker      - EquivToProto
151*495ae853SAndroid Build Coastguard Worker      - PARSE_PARTIAL_TEXT_PROTO
152*495ae853SAndroid Build Coastguard Worker      - PARSE_TEST_PROTO
153*495ae853SAndroid Build Coastguard Worker      - PARSE_TEXT_PROTO
154*495ae853SAndroid Build Coastguard Worker      - ParseTextOrDie
155*495ae853SAndroid Build Coastguard Worker      - ParseTextProtoOrDie
156*495ae853SAndroid Build Coastguard Worker      - ParseTestProto
157*495ae853SAndroid Build Coastguard Worker      - ParsePartialTestProto
158*495ae853SAndroid Build Coastguard Worker    CanonicalDelimiter: ''
159*495ae853SAndroid Build Coastguard Worker    BasedOnStyle:    google
160*495ae853SAndroid Build Coastguard WorkerReflowComments:  true
161*495ae853SAndroid Build Coastguard WorkerSortIncludes:    false
162*495ae853SAndroid Build Coastguard WorkerSortJavaStaticImport: Before
163*495ae853SAndroid Build Coastguard WorkerSortUsingDeclarations: true
164*495ae853SAndroid Build Coastguard WorkerSpaceAfterCStyleCast: true
165*495ae853SAndroid Build Coastguard WorkerSpaceAfterLogicalNot: false
166*495ae853SAndroid Build Coastguard WorkerSpaceAfterTemplateKeyword: true
167*495ae853SAndroid Build Coastguard WorkerSpaceBeforeAssignmentOperators: true
168*495ae853SAndroid Build Coastguard WorkerSpaceBeforeCaseColon: false
169*495ae853SAndroid Build Coastguard WorkerSpaceBeforeCpp11BracedList: false
170*495ae853SAndroid Build Coastguard WorkerSpaceBeforeCtorInitializerColon: true
171*495ae853SAndroid Build Coastguard WorkerSpaceBeforeInheritanceColon: true
172*495ae853SAndroid Build Coastguard WorkerSpaceBeforeParens: Never
173*495ae853SAndroid Build Coastguard WorkerSpaceAroundPointerQualifiers: Default
174*495ae853SAndroid Build Coastguard WorkerSpaceBeforeRangeBasedForLoopColon: true
175*495ae853SAndroid Build Coastguard WorkerSpaceInEmptyBlock: false
176*495ae853SAndroid Build Coastguard WorkerSpaceInEmptyParentheses: false
177*495ae853SAndroid Build Coastguard WorkerSpacesBeforeTrailingComments: 2
178*495ae853SAndroid Build Coastguard WorkerSpacesInAngles:  false
179*495ae853SAndroid Build Coastguard WorkerSpacesInConditionalStatement: false
180*495ae853SAndroid Build Coastguard WorkerSpacesInContainerLiterals: true
181*495ae853SAndroid Build Coastguard WorkerSpacesInCStyleCastParentheses: false
182*495ae853SAndroid Build Coastguard WorkerSpacesInParentheses: false
183*495ae853SAndroid Build Coastguard WorkerSpacesInSquareBrackets: false
184*495ae853SAndroid Build Coastguard WorkerSpaceBeforeSquareBrackets: false
185*495ae853SAndroid Build Coastguard WorkerBitFieldColonSpacing: Both
186*495ae853SAndroid Build Coastguard WorkerStandard:        Auto
187*495ae853SAndroid Build Coastguard WorkerStatementMacros:
188*495ae853SAndroid Build Coastguard Worker  - Q_UNUSED
189*495ae853SAndroid Build Coastguard Worker  - QT_REQUIRE_VERSION
190*495ae853SAndroid Build Coastguard WorkerTabWidth:        4
191*495ae853SAndroid Build Coastguard WorkerUseCRLF:         false
192*495ae853SAndroid Build Coastguard WorkerUseTab:          Never
193*495ae853SAndroid Build Coastguard WorkerWhitespaceSensitiveMacros:
194*495ae853SAndroid Build Coastguard Worker  - STRINGIZE
195*495ae853SAndroid Build Coastguard Worker  - PP_STRINGIZE
196*495ae853SAndroid Build Coastguard Worker  - BOOST_PP_STRINGIZE
197*495ae853SAndroid Build Coastguard Worker  - NS_SWIFT_NAME
198*495ae853SAndroid Build Coastguard Worker  - CF_SWIFT_NAME
199*495ae853SAndroid Build Coastguard Worker...
200*495ae853SAndroid Build Coastguard Worker
201