xref: /openbmc/dbus-sensors/.clang-format (revision 2aaf7175)
16714a25aSJames Feist---
26714a25aSJames FeistLanguage:        Cpp
36714a25aSJames Feist# BasedOnStyle:  LLVM
46714a25aSJames FeistAccessModifierOffset: -2
56714a25aSJames FeistAlignAfterOpenBracket: Align
66714a25aSJames FeistAlignConsecutiveAssignments: false
76714a25aSJames FeistAlignConsecutiveDeclarations: false
838fb5983SJames FeistAlignEscapedNewlines: Right
9779c96a2SPatrick WilliamsAlignOperands:  Align
10779c96a2SPatrick WilliamsAlignTrailingComments:
11779c96a2SPatrick Williams  Kind: Always
12779c96a2SPatrick Williams  OverEmptyLines: 1
136714a25aSJames FeistAllowAllParametersOfDeclarationOnNextLine: true
14779c96a2SPatrick WilliamsAllowShortBlocksOnASingleLine: Empty
156714a25aSJames FeistAllowShortCaseLabelsOnASingleLine: false
16779c96a2SPatrick WilliamsAllowShortFunctionsOnASingleLine: Empty
17597e8423SPatrick WilliamsAllowShortIfStatementsOnASingleLine: Never
18597e8423SPatrick WilliamsAllowShortLambdasOnASingleLine: true
196714a25aSJames FeistAllowShortLoopsOnASingleLine: false
206714a25aSJames FeistAlwaysBreakAfterReturnType: None
216714a25aSJames FeistAlwaysBreakBeforeMultilineStrings: false
2238fb5983SJames FeistAlwaysBreakTemplateDeclarations: Yes
236714a25aSJames FeistBinPackArguments: true
246714a25aSJames FeistBinPackParameters: true
25597e8423SPatrick WilliamsBitFieldColonSpacing: None
266714a25aSJames FeistBraceWrapping:
2738fb5983SJames Feist  AfterCaseLabel:  true
286714a25aSJames Feist  AfterClass:      true
296714a25aSJames Feist  AfterControlStatement: true
306714a25aSJames Feist  AfterEnum:       true
31597e8423SPatrick Williams  AfterExternBlock: true
326714a25aSJames Feist  AfterFunction:   true
336714a25aSJames Feist  AfterNamespace:  true
346714a25aSJames Feist  AfterObjCDeclaration: true
356714a25aSJames Feist  AfterStruct:     true
366714a25aSJames Feist  AfterUnion:      true
376714a25aSJames Feist  BeforeCatch:     true
386714a25aSJames Feist  BeforeElse:      true
39597e8423SPatrick Williams  BeforeLambdaBody: false
40597e8423SPatrick Williams  BeforeWhile:     false
416714a25aSJames Feist  IndentBraces:    false
4238fb5983SJames Feist  SplitEmptyFunction:   false
4338fb5983SJames Feist  SplitEmptyRecord:     false
4438fb5983SJames Feist  SplitEmptyNamespace:  false
45779c96a2SPatrick WilliamsBreakAfterAttributes: Never
466714a25aSJames FeistBreakBeforeBinaryOperators: None
476714a25aSJames FeistBreakBeforeBraces: Custom
486714a25aSJames FeistBreakBeforeTernaryOperators: true
496714a25aSJames FeistBreakConstructorInitializers: AfterColon
5038fb5983SJames FeistBreakInheritanceList: AfterColon
51779c96a2SPatrick WilliamsBreakStringLiterals: false
526714a25aSJames FeistColumnLimit:     80
536714a25aSJames FeistCommentPragmas:  '^ IWYU pragma:'
5438fb5983SJames FeistCompactNamespaces: false
556714a25aSJames FeistConstructorInitializerIndentWidth: 4
566714a25aSJames FeistContinuationIndentWidth: 4
576714a25aSJames FeistCpp11BracedListStyle: true
58d8705875SJames FeistDerivePointerAlignment: false
596714a25aSJames FeistDisableFormat:   false
606714a25aSJames FeistFixNamespaceComments: true
61597e8423SPatrick WilliamsForEachMacros:
62597e8423SPatrick Williams  - foreach
63597e8423SPatrick Williams  - Q_FOREACH
64597e8423SPatrick Williams  - BOOST_FOREACH
656714a25aSJames FeistIncludeBlocks: Regroup
666714a25aSJames FeistIncludeCategories:
676714a25aSJames Feist  - Regex:           '^[<"](gtest|gmock)'
6838fb5983SJames Feist    Priority:        7
696714a25aSJames Feist  - Regex:           '^"config.h"'
706714a25aSJames Feist    Priority:        -1
7138fb5983SJames Feist  - Regex:           '^".*\.h"'
726714a25aSJames Feist    Priority:        1
7338fb5983SJames Feist  - Regex:           '^".*\.hpp"'
746714a25aSJames Feist    Priority:        2
7538fb5983SJames Feist  - Regex:           '^<.*\.h>'
766714a25aSJames Feist    Priority:        3
7738fb5983SJames Feist  - Regex:           '^<.*\.hpp>'
786714a25aSJames Feist    Priority:        4
7938fb5983SJames Feist  - Regex:           '^<.*'
8038fb5983SJames Feist    Priority:        5
8138fb5983SJames Feist  - Regex:           '.*'
8238fb5983SJames Feist    Priority:        6
836714a25aSJames FeistIndentCaseLabels: true
84779c96a2SPatrick WilliamsIndentExternBlock: NoIndent
85779c96a2SPatrick WilliamsIndentRequiresClause: true
866714a25aSJames FeistIndentWidth:     4
876714a25aSJames FeistIndentWrappedFunctionNames: true
88779c96a2SPatrick WilliamsInsertNewlineAtEOF: true
89779c96a2SPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
90*2aaf7175SPatrick WilliamsLambdaBodyIndentation: Signature
91779c96a2SPatrick WilliamsLineEnding: LF
926714a25aSJames FeistMacroBlockBegin: ''
936714a25aSJames FeistMacroBlockEnd:   ''
946714a25aSJames FeistMaxEmptyLinesToKeep: 1
956714a25aSJames FeistNamespaceIndentation: None
966714a25aSJames FeistObjCBlockIndentWidth: 2
976714a25aSJames FeistObjCSpaceAfterProperty: false
986714a25aSJames FeistObjCSpaceBeforeProtocolList: true
99597e8423SPatrick WilliamsPackConstructorInitializers: BinPack
100779c96a2SPatrick WilliamsPenaltyBreakAssignment: 25
101*2aaf7175SPatrick WilliamsPenaltyBreakBeforeFirstCallParameter: 50
1026714a25aSJames FeistPenaltyBreakComment: 300
1036714a25aSJames FeistPenaltyBreakFirstLessLess: 120
1046714a25aSJames FeistPenaltyBreakString: 1000
105*2aaf7175SPatrick WilliamsPenaltyBreakTemplateDeclaration: 10
1066714a25aSJames FeistPenaltyExcessCharacter: 1000000
1076714a25aSJames FeistPenaltyReturnTypeOnItsOwnLine: 60
108*2aaf7175SPatrick WilliamsPenaltyIndentedWhitespace: 1
109597e8423SPatrick WilliamsPointerAlignment: Left
110779c96a2SPatrick WilliamsQualifierAlignment: Left
111779c96a2SPatrick WilliamsReferenceAlignment: Left
1126714a25aSJames FeistReflowComments:  true
113779c96a2SPatrick WilliamsRequiresClausePosition: OwnLine
114779c96a2SPatrick WilliamsRequiresExpressionIndentation: Keyword
115597e8423SPatrick WilliamsSortIncludes: CaseSensitive
116d8705875SJames FeistSortUsingDeclarations: true
1176714a25aSJames FeistSpaceAfterCStyleCast: false
11838fb5983SJames FeistSpaceAfterTemplateKeyword: true
1196714a25aSJames FeistSpaceBeforeAssignmentOperators: true
12038fb5983SJames FeistSpaceBeforeCpp11BracedList: false
12138fb5983SJames FeistSpaceBeforeCtorInitializerColon: true
12238fb5983SJames FeistSpaceBeforeInheritanceColon: true
1236714a25aSJames FeistSpaceBeforeParens: ControlStatements
12438fb5983SJames FeistSpaceBeforeRangeBasedForLoopColon: true
1256714a25aSJames FeistSpaceInEmptyParentheses: false
1266714a25aSJames FeistSpacesBeforeTrailingComments: 1
127597e8423SPatrick WilliamsSpacesInAngles: Never
1286714a25aSJames FeistSpacesInContainerLiterals: true
1296714a25aSJames FeistSpacesInCStyleCastParentheses: false
1306714a25aSJames FeistSpacesInParentheses: false
1316714a25aSJames FeistSpacesInSquareBrackets: false
132779c96a2SPatrick WilliamsStandard:        Latest
1336714a25aSJames FeistTabWidth:        4
1346714a25aSJames FeistUseTab:          Never
1356714a25aSJames Feist...
136d8705875SJames Feist
137