xref: /openbmc/sdeventplus/.clang-format (revision 18db9a3e)
18f90e28bSWilliam A. Kennington III---
28f90e28bSWilliam A. Kennington IIILanguage:        Cpp
38f90e28bSWilliam A. Kennington III# BasedOnStyle:  LLVM
48f90e28bSWilliam A. Kennington IIIAccessModifierOffset: -2
58f90e28bSWilliam A. Kennington IIIAlignAfterOpenBracket: Align
68f90e28bSWilliam A. Kennington IIIAlignConsecutiveAssignments: false
78f90e28bSWilliam A. Kennington IIIAlignConsecutiveDeclarations: false
8a8c11e3cSPatrick WilliamsAlignEscapedNewlines: Right
9a8c11e3cSPatrick WilliamsAlignOperands:  Align
10a8c11e3cSPatrick WilliamsAlignTrailingComments:
11a8c11e3cSPatrick Williams  Kind: Always
12a8c11e3cSPatrick Williams  OverEmptyLines: 1
138f90e28bSWilliam A. Kennington IIIAllowAllParametersOfDeclarationOnNextLine: true
14a8c11e3cSPatrick WilliamsAllowShortBlocksOnASingleLine: Empty
158f90e28bSWilliam A. Kennington IIIAllowShortCaseLabelsOnASingleLine: false
16a8c11e3cSPatrick WilliamsAllowShortFunctionsOnASingleLine: Empty
170249f9edSPatrick WilliamsAllowShortIfStatementsOnASingleLine: Never
180249f9edSPatrick WilliamsAllowShortLambdasOnASingleLine: true
198f90e28bSWilliam A. Kennington IIIAllowShortLoopsOnASingleLine: false
208f90e28bSWilliam A. Kennington IIIAlwaysBreakAfterReturnType: None
218f90e28bSWilliam A. Kennington IIIAlwaysBreakBeforeMultilineStrings: false
22a8c11e3cSPatrick WilliamsAlwaysBreakTemplateDeclarations: Yes
238f90e28bSWilliam A. Kennington IIIBinPackArguments: true
248f90e28bSWilliam A. Kennington IIIBinPackParameters: true
250249f9edSPatrick WilliamsBitFieldColonSpacing: None
268f90e28bSWilliam A. Kennington IIIBraceWrapping:
27a8c11e3cSPatrick Williams  AfterCaseLabel:  true
288f90e28bSWilliam A. Kennington III  AfterClass:      true
298f90e28bSWilliam A. Kennington III  AfterControlStatement: true
308f90e28bSWilliam A. Kennington III  AfterEnum:       true
310249f9edSPatrick Williams  AfterExternBlock: true
328f90e28bSWilliam A. Kennington III  AfterFunction:   true
338f90e28bSWilliam A. Kennington III  AfterNamespace:  true
348f90e28bSWilliam A. Kennington III  AfterObjCDeclaration: true
358f90e28bSWilliam A. Kennington III  AfterStruct:     true
368f90e28bSWilliam A. Kennington III  AfterUnion:      true
378f90e28bSWilliam A. Kennington III  BeforeCatch:     true
388f90e28bSWilliam A. Kennington III  BeforeElse:      true
390249f9edSPatrick Williams  BeforeLambdaBody: false
400249f9edSPatrick Williams  BeforeWhile:     false
418f90e28bSWilliam A. Kennington III  IndentBraces:    false
42a8c11e3cSPatrick Williams  SplitEmptyFunction:   false
43a8c11e3cSPatrick Williams  SplitEmptyRecord:     false
44a8c11e3cSPatrick Williams  SplitEmptyNamespace:  false
45a8c11e3cSPatrick WilliamsBreakAfterAttributes: Never
468f90e28bSWilliam A. Kennington IIIBreakBeforeBinaryOperators: None
478f90e28bSWilliam A. Kennington IIIBreakBeforeBraces: Custom
488f90e28bSWilliam A. Kennington IIIBreakBeforeTernaryOperators: true
498f90e28bSWilliam A. Kennington IIIBreakConstructorInitializers: AfterColon
50a8c11e3cSPatrick WilliamsBreakInheritanceList: AfterColon
51a8c11e3cSPatrick WilliamsBreakStringLiterals: false
528f90e28bSWilliam A. Kennington IIIColumnLimit:     80
538f90e28bSWilliam A. Kennington IIICommentPragmas:  '^ IWYU pragma:'
54a8c11e3cSPatrick WilliamsCompactNamespaces: false
558f90e28bSWilliam A. Kennington IIIConstructorInitializerIndentWidth: 4
568f90e28bSWilliam A. Kennington IIIContinuationIndentWidth: 4
578f90e28bSWilliam A. Kennington IIICpp11BracedListStyle: true
580a816c5dSWilliam A. Kennington IIIDerivePointerAlignment: false
598f90e28bSWilliam A. Kennington IIIDisableFormat:   false
608f90e28bSWilliam A. Kennington IIIFixNamespaceComments: true
610249f9edSPatrick WilliamsForEachMacros:
620249f9edSPatrick Williams  - foreach
630249f9edSPatrick Williams  - Q_FOREACH
640249f9edSPatrick Williams  - BOOST_FOREACH
65a8c11e3cSPatrick WilliamsIncludeBlocks: Regroup
66a8c11e3cSPatrick WilliamsIncludeCategories:
67a8c11e3cSPatrick Williams  - Regex:           '^[<"](gtest|gmock)'
68a8c11e3cSPatrick Williams    Priority:        7
69a8c11e3cSPatrick Williams  - Regex:           '^"config.h"'
70a8c11e3cSPatrick Williams    Priority:        -1
71a8c11e3cSPatrick Williams  - Regex:           '^".*\.h"'
72a8c11e3cSPatrick Williams    Priority:        1
73a8c11e3cSPatrick Williams  - Regex:           '^".*\.hpp"'
74a8c11e3cSPatrick Williams    Priority:        2
75a8c11e3cSPatrick Williams  - Regex:           '^<.*\.h>'
76a8c11e3cSPatrick Williams    Priority:        3
77a8c11e3cSPatrick Williams  - Regex:           '^<.*\.hpp>'
78a8c11e3cSPatrick Williams    Priority:        4
79a8c11e3cSPatrick Williams  - Regex:           '^<.*'
80a8c11e3cSPatrick Williams    Priority:        5
81a8c11e3cSPatrick Williams  - Regex:           '.*'
82a8c11e3cSPatrick Williams    Priority:        6
838f90e28bSWilliam A. Kennington IIIIndentCaseLabels: true
840249f9edSPatrick WilliamsIndentExternBlock: NoIndent
85a8c11e3cSPatrick WilliamsIndentRequiresClause: true
868f90e28bSWilliam A. Kennington IIIIndentWidth:     4
878f90e28bSWilliam A. Kennington IIIIndentWrappedFunctionNames: true
88a8c11e3cSPatrick WilliamsInsertNewlineAtEOF: true
89a8c11e3cSPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
90*18db9a3eSPatrick WilliamsLambdaBodyIndentation: Signature
91a8c11e3cSPatrick WilliamsLineEnding: LF
928f90e28bSWilliam A. Kennington IIIMacroBlockBegin: ''
938f90e28bSWilliam A. Kennington IIIMacroBlockEnd:   ''
948f90e28bSWilliam A. Kennington IIIMaxEmptyLinesToKeep: 1
958f90e28bSWilliam A. Kennington IIINamespaceIndentation: None
968f90e28bSWilliam A. Kennington IIIObjCBlockIndentWidth: 2
978f90e28bSWilliam A. Kennington IIIObjCSpaceAfterProperty: false
988f90e28bSWilliam A. Kennington IIIObjCSpaceBeforeProtocolList: true
990249f9edSPatrick WilliamsPackConstructorInitializers: BinPack
100a8c11e3cSPatrick WilliamsPenaltyBreakAssignment: 25
101*18db9a3eSPatrick WilliamsPenaltyBreakBeforeFirstCallParameter: 50
1028f90e28bSWilliam A. Kennington IIIPenaltyBreakComment: 300
1038f90e28bSWilliam A. Kennington IIIPenaltyBreakFirstLessLess: 120
1048f90e28bSWilliam A. Kennington IIIPenaltyBreakString: 1000
105*18db9a3eSPatrick WilliamsPenaltyBreakTemplateDeclaration: 10
1068f90e28bSWilliam A. Kennington IIIPenaltyExcessCharacter: 1000000
1078f90e28bSWilliam A. Kennington IIIPenaltyReturnTypeOnItsOwnLine: 60
108*18db9a3eSPatrick WilliamsPenaltyIndentedWhitespace: 1
1090249f9edSPatrick WilliamsPointerAlignment: Left
110a8c11e3cSPatrick WilliamsQualifierAlignment: Left
111a8c11e3cSPatrick WilliamsReferenceAlignment: Left
1128f90e28bSWilliam A. Kennington IIIReflowComments:  true
113a8c11e3cSPatrick WilliamsRequiresClausePosition: OwnLine
114a8c11e3cSPatrick WilliamsRequiresExpressionIndentation: Keyword
1150249f9edSPatrick WilliamsSortIncludes: CaseSensitive
1160a816c5dSWilliam A. Kennington IIISortUsingDeclarations: true
1178f90e28bSWilliam A. Kennington IIISpaceAfterCStyleCast: false
118a8c11e3cSPatrick WilliamsSpaceAfterTemplateKeyword: true
1198f90e28bSWilliam A. Kennington IIISpaceBeforeAssignmentOperators: true
120a8c11e3cSPatrick WilliamsSpaceBeforeCpp11BracedList: false
121a8c11e3cSPatrick WilliamsSpaceBeforeCtorInitializerColon: true
122a8c11e3cSPatrick WilliamsSpaceBeforeInheritanceColon: true
1238f90e28bSWilliam A. Kennington IIISpaceBeforeParens: ControlStatements
124a8c11e3cSPatrick WilliamsSpaceBeforeRangeBasedForLoopColon: true
1258f90e28bSWilliam A. Kennington IIISpaceInEmptyParentheses: false
1268f90e28bSWilliam A. Kennington IIISpacesBeforeTrailingComments: 1
1270249f9edSPatrick WilliamsSpacesInAngles: Never
1288f90e28bSWilliam A. Kennington IIISpacesInContainerLiterals: true
1298f90e28bSWilliam A. Kennington IIISpacesInCStyleCastParentheses: false
1308f90e28bSWilliam A. Kennington IIISpacesInParentheses: false
1318f90e28bSWilliam A. Kennington IIISpacesInSquareBrackets: false
132a8c11e3cSPatrick WilliamsStandard:        Latest
1338f90e28bSWilliam A. Kennington IIITabWidth:        4
1348f90e28bSWilliam A. Kennington IIIUseTab:          Never
1358f90e28bSWilliam A. Kennington III...
1368f90e28bSWilliam A. Kennington III
137