xref: /openbmc/dbus-sensors/.clang-format (revision 38fb5983)
16714a25aSJames Feist---
26714a25aSJames FeistLanguage:        Cpp
36714a25aSJames Feist# BasedOnStyle:  LLVM
46714a25aSJames FeistAccessModifierOffset: -2
56714a25aSJames FeistAlignAfterOpenBracket: Align
66714a25aSJames FeistAlignConsecutiveAssignments: false
76714a25aSJames FeistAlignConsecutiveDeclarations: false
8*38fb5983SJames FeistAlignEscapedNewlines: Right
96714a25aSJames FeistAlignOperands:   true
106714a25aSJames FeistAlignTrailingComments: true
116714a25aSJames FeistAllowAllParametersOfDeclarationOnNextLine: true
126714a25aSJames FeistAllowShortBlocksOnASingleLine: false
136714a25aSJames FeistAllowShortCaseLabelsOnASingleLine: false
146714a25aSJames FeistAllowShortFunctionsOnASingleLine: None
156714a25aSJames FeistAllowShortIfStatementsOnASingleLine: false
166714a25aSJames FeistAllowShortLoopsOnASingleLine: false
176714a25aSJames FeistAlwaysBreakAfterReturnType: None
186714a25aSJames FeistAlwaysBreakBeforeMultilineStrings: false
19*38fb5983SJames FeistAlwaysBreakTemplateDeclarations: Yes
206714a25aSJames FeistBinPackArguments: true
216714a25aSJames FeistBinPackParameters: true
226714a25aSJames FeistBraceWrapping:
23*38fb5983SJames Feist  AfterCaseLabel:  true
246714a25aSJames Feist  AfterClass:      true
256714a25aSJames Feist  AfterControlStatement: true
266714a25aSJames Feist  AfterEnum:       true
276714a25aSJames Feist  AfterFunction:   true
286714a25aSJames Feist  AfterNamespace:  true
296714a25aSJames Feist  AfterObjCDeclaration: true
306714a25aSJames Feist  AfterStruct:     true
316714a25aSJames Feist  AfterUnion:      true
32*38fb5983SJames Feist  AfterExternBlock: true
336714a25aSJames Feist  BeforeCatch:     true
346714a25aSJames Feist  BeforeElse:      true
356714a25aSJames Feist  IndentBraces:    false
36*38fb5983SJames Feist  SplitEmptyFunction:   false
37*38fb5983SJames Feist  SplitEmptyRecord:     false
38*38fb5983SJames Feist  SplitEmptyNamespace:  false
396714a25aSJames FeistBreakBeforeBinaryOperators: None
406714a25aSJames FeistBreakBeforeBraces: Custom
416714a25aSJames FeistBreakBeforeTernaryOperators: true
426714a25aSJames FeistBreakConstructorInitializers: AfterColon
43*38fb5983SJames FeistBreakInheritanceList: AfterColon
44*38fb5983SJames FeistBreakStringLiterals: true
456714a25aSJames FeistColumnLimit:     80
466714a25aSJames FeistCommentPragmas:  '^ IWYU pragma:'
47*38fb5983SJames FeistCompactNamespaces: false
486714a25aSJames FeistConstructorInitializerAllOnOneLineOrOnePerLine: false
496714a25aSJames FeistConstructorInitializerIndentWidth: 4
506714a25aSJames FeistContinuationIndentWidth: 4
516714a25aSJames FeistCpp11BracedListStyle: true
52d8705875SJames FeistDerivePointerAlignment: false
536714a25aSJames FeistPointerAlignment: Left
546714a25aSJames FeistDisableFormat:   false
556714a25aSJames FeistExperimentalAutoDetectBinPacking: false
566714a25aSJames FeistFixNamespaceComments: true
576714a25aSJames FeistForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
586714a25aSJames FeistIncludeBlocks: Regroup
596714a25aSJames FeistIncludeCategories:
606714a25aSJames Feist  - Regex:           '^[<"](gtest|gmock)'
61*38fb5983SJames Feist    Priority:        7
626714a25aSJames Feist  - Regex:           '^"config.h"'
636714a25aSJames Feist    Priority:        -1
64*38fb5983SJames Feist  - Regex:           '^".*\.h"'
656714a25aSJames Feist    Priority:        1
66*38fb5983SJames Feist  - Regex:           '^".*\.hpp"'
676714a25aSJames Feist    Priority:        2
68*38fb5983SJames Feist  - Regex:           '^<.*\.h>'
696714a25aSJames Feist    Priority:        3
70*38fb5983SJames Feist  - Regex:           '^<.*\.hpp>'
716714a25aSJames Feist    Priority:        4
72*38fb5983SJames Feist  - Regex:           '^<.*'
73*38fb5983SJames Feist    Priority:        5
74*38fb5983SJames Feist  - Regex:           '.*'
75*38fb5983SJames Feist    Priority:        6
766714a25aSJames FeistIndentCaseLabels: true
776714a25aSJames FeistIndentWidth:     4
786714a25aSJames FeistIndentWrappedFunctionNames: true
796714a25aSJames FeistKeepEmptyLinesAtTheStartOfBlocks: true
806714a25aSJames FeistMacroBlockBegin: ''
816714a25aSJames FeistMacroBlockEnd:   ''
826714a25aSJames FeistMaxEmptyLinesToKeep: 1
836714a25aSJames FeistNamespaceIndentation: None
846714a25aSJames FeistObjCBlockIndentWidth: 2
856714a25aSJames FeistObjCSpaceAfterProperty: false
866714a25aSJames FeistObjCSpaceBeforeProtocolList: true
876714a25aSJames FeistPenaltyBreakBeforeFirstCallParameter: 19
886714a25aSJames FeistPenaltyBreakComment: 300
896714a25aSJames FeistPenaltyBreakFirstLessLess: 120
906714a25aSJames FeistPenaltyBreakString: 1000
916714a25aSJames FeistPenaltyExcessCharacter: 1000000
926714a25aSJames FeistPenaltyReturnTypeOnItsOwnLine: 60
936714a25aSJames FeistReflowComments:  true
946714a25aSJames FeistSortIncludes:    true
95d8705875SJames FeistSortUsingDeclarations: true
966714a25aSJames FeistSpaceAfterCStyleCast: false
97*38fb5983SJames FeistSpaceAfterTemplateKeyword: true
986714a25aSJames FeistSpaceBeforeAssignmentOperators: true
99*38fb5983SJames FeistSpaceBeforeCpp11BracedList: false
100*38fb5983SJames FeistSpaceBeforeCtorInitializerColon: true
101*38fb5983SJames FeistSpaceBeforeInheritanceColon: true
1026714a25aSJames FeistSpaceBeforeParens: ControlStatements
103*38fb5983SJames FeistSpaceBeforeRangeBasedForLoopColon: true
1046714a25aSJames FeistSpaceInEmptyParentheses: false
1056714a25aSJames FeistSpacesBeforeTrailingComments: 1
1066714a25aSJames FeistSpacesInAngles:  false
1076714a25aSJames FeistSpacesInContainerLiterals: true
1086714a25aSJames FeistSpacesInCStyleCastParentheses: false
1096714a25aSJames FeistSpacesInParentheses: false
1106714a25aSJames FeistSpacesInSquareBrackets: false
1116714a25aSJames FeistStandard:        Cpp11
1126714a25aSJames FeistTabWidth:        4
1136714a25aSJames FeistUseTab:          Never
1146714a25aSJames Feist...
115d8705875SJames Feist
116