xref: /openbmc/dbus-sensors/.clang-format (revision 779c96a2)
16714a25aSJames Feist---
26714a25aSJames FeistLanguage:        Cpp
36714a25aSJames Feist# BasedOnStyle:  LLVM
46714a25aSJames FeistAccessModifierOffset: -2
56714a25aSJames FeistAlignAfterOpenBracket: Align
66714a25aSJames FeistAlignConsecutiveAssignments: false
76714a25aSJames FeistAlignConsecutiveDeclarations: false
838fb5983SJames FeistAlignEscapedNewlines: Right
9*779c96a2SPatrick WilliamsAlignOperands:  Align
10*779c96a2SPatrick WilliamsAlignTrailingComments:
11*779c96a2SPatrick Williams  Kind: Always
12*779c96a2SPatrick Williams  OverEmptyLines: 1
136714a25aSJames FeistAllowAllParametersOfDeclarationOnNextLine: true
14*779c96a2SPatrick WilliamsAllowShortBlocksOnASingleLine: Empty
156714a25aSJames FeistAllowShortCaseLabelsOnASingleLine: false
16*779c96a2SPatrick WilliamsAllowShortFunctionsOnASingleLine: Empty
176714a25aSJames FeistAllowShortIfStatementsOnASingleLine: false
186714a25aSJames FeistAllowShortLoopsOnASingleLine: false
196714a25aSJames FeistAlwaysBreakAfterReturnType: None
206714a25aSJames FeistAlwaysBreakBeforeMultilineStrings: false
2138fb5983SJames FeistAlwaysBreakTemplateDeclarations: Yes
226714a25aSJames FeistBinPackArguments: true
236714a25aSJames FeistBinPackParameters: true
246714a25aSJames FeistBraceWrapping:
2538fb5983SJames Feist  AfterCaseLabel:  true
266714a25aSJames Feist  AfterClass:      true
276714a25aSJames Feist  AfterControlStatement: true
286714a25aSJames Feist  AfterEnum:       true
296714a25aSJames Feist  AfterFunction:   true
306714a25aSJames Feist  AfterNamespace:  true
316714a25aSJames Feist  AfterObjCDeclaration: true
326714a25aSJames Feist  AfterStruct:     true
336714a25aSJames Feist  AfterUnion:      true
3438fb5983SJames Feist  AfterExternBlock: true
356714a25aSJames Feist  BeforeCatch:     true
366714a25aSJames Feist  BeforeElse:      true
376714a25aSJames Feist  IndentBraces:    false
3838fb5983SJames Feist  SplitEmptyFunction:   false
3938fb5983SJames Feist  SplitEmptyRecord:     false
4038fb5983SJames Feist  SplitEmptyNamespace:  false
41*779c96a2SPatrick WilliamsBreakAfterAttributes: Never
426714a25aSJames FeistBreakBeforeBinaryOperators: None
436714a25aSJames FeistBreakBeforeBraces: Custom
446714a25aSJames FeistBreakBeforeTernaryOperators: true
456714a25aSJames FeistBreakConstructorInitializers: AfterColon
4638fb5983SJames FeistBreakInheritanceList: AfterColon
47*779c96a2SPatrick WilliamsBreakStringLiterals: false
486714a25aSJames FeistColumnLimit:     80
496714a25aSJames FeistCommentPragmas:  '^ IWYU pragma:'
5038fb5983SJames FeistCompactNamespaces: false
516714a25aSJames FeistConstructorInitializerAllOnOneLineOrOnePerLine: false
526714a25aSJames FeistConstructorInitializerIndentWidth: 4
536714a25aSJames FeistContinuationIndentWidth: 4
546714a25aSJames FeistCpp11BracedListStyle: true
55*779c96a2SPatrick WilliamsDeriveLineEnding: false
56d8705875SJames FeistDerivePointerAlignment: false
576714a25aSJames FeistPointerAlignment: Left
586714a25aSJames FeistDisableFormat:   false
596714a25aSJames FeistExperimentalAutoDetectBinPacking: false
606714a25aSJames FeistFixNamespaceComments: true
616714a25aSJames FeistForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
626714a25aSJames FeistIncludeBlocks: Regroup
636714a25aSJames FeistIncludeCategories:
646714a25aSJames Feist  - Regex:           '^[<"](gtest|gmock)'
6538fb5983SJames Feist    Priority:        7
666714a25aSJames Feist  - Regex:           '^"config.h"'
676714a25aSJames Feist    Priority:        -1
6838fb5983SJames Feist  - Regex:           '^".*\.h"'
696714a25aSJames Feist    Priority:        1
7038fb5983SJames Feist  - Regex:           '^".*\.hpp"'
716714a25aSJames Feist    Priority:        2
7238fb5983SJames Feist  - Regex:           '^<.*\.h>'
736714a25aSJames Feist    Priority:        3
7438fb5983SJames Feist  - Regex:           '^<.*\.hpp>'
756714a25aSJames Feist    Priority:        4
7638fb5983SJames Feist  - Regex:           '^<.*'
7738fb5983SJames Feist    Priority:        5
7838fb5983SJames Feist  - Regex:           '.*'
7938fb5983SJames Feist    Priority:        6
806714a25aSJames FeistIndentCaseLabels: true
81*779c96a2SPatrick WilliamsIndentExternBlock: NoIndent
82*779c96a2SPatrick WilliamsIndentRequiresClause: true
836714a25aSJames FeistIndentWidth:     4
846714a25aSJames FeistIndentWrappedFunctionNames: true
85*779c96a2SPatrick WilliamsInsertNewlineAtEOF: true
86*779c96a2SPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
87*779c96a2SPatrick WilliamsLambdaBodyIndentation: OuterScope
88*779c96a2SPatrick WilliamsLineEnding: LF
896714a25aSJames FeistMacroBlockBegin: ''
906714a25aSJames FeistMacroBlockEnd:   ''
916714a25aSJames FeistMaxEmptyLinesToKeep: 1
926714a25aSJames FeistNamespaceIndentation: None
936714a25aSJames FeistObjCBlockIndentWidth: 2
946714a25aSJames FeistObjCSpaceAfterProperty: false
956714a25aSJames FeistObjCSpaceBeforeProtocolList: true
96*779c96a2SPatrick WilliamsPenaltyBreakAssignment: 25
976714a25aSJames FeistPenaltyBreakBeforeFirstCallParameter: 19
986714a25aSJames FeistPenaltyBreakComment: 300
996714a25aSJames FeistPenaltyBreakFirstLessLess: 120
1006714a25aSJames FeistPenaltyBreakString: 1000
1016714a25aSJames FeistPenaltyExcessCharacter: 1000000
1026714a25aSJames FeistPenaltyReturnTypeOnItsOwnLine: 60
103*779c96a2SPatrick WilliamsPenaltyIndentedWhitespace: 0
104*779c96a2SPatrick WilliamsQualifierAlignment: Left
105*779c96a2SPatrick WilliamsReferenceAlignment: Left
1066714a25aSJames FeistReflowComments:  true
107*779c96a2SPatrick WilliamsRequiresClausePosition: OwnLine
108*779c96a2SPatrick WilliamsRequiresExpressionIndentation: Keyword
1096714a25aSJames FeistSortIncludes:    true
110d8705875SJames FeistSortUsingDeclarations: true
1116714a25aSJames FeistSpaceAfterCStyleCast: false
11238fb5983SJames FeistSpaceAfterTemplateKeyword: true
1136714a25aSJames FeistSpaceBeforeAssignmentOperators: true
11438fb5983SJames FeistSpaceBeforeCpp11BracedList: false
11538fb5983SJames FeistSpaceBeforeCtorInitializerColon: true
11638fb5983SJames FeistSpaceBeforeInheritanceColon: true
1176714a25aSJames FeistSpaceBeforeParens: ControlStatements
11838fb5983SJames FeistSpaceBeforeRangeBasedForLoopColon: true
1196714a25aSJames FeistSpaceInEmptyParentheses: false
1206714a25aSJames FeistSpacesBeforeTrailingComments: 1
1216714a25aSJames FeistSpacesInAngles:  false
1226714a25aSJames FeistSpacesInContainerLiterals: true
1236714a25aSJames FeistSpacesInCStyleCastParentheses: false
1246714a25aSJames FeistSpacesInParentheses: false
1256714a25aSJames FeistSpacesInSquareBrackets: false
126*779c96a2SPatrick WilliamsStandard:        Latest
1276714a25aSJames FeistTabWidth:        4
1286714a25aSJames FeistUseTab:          Never
1296714a25aSJames Feist...
130d8705875SJames Feist
131