xref: /openbmc/entity-manager/.clang-format (revision 3cb5fece)
1*3cb5feceSJames Feist---
2*3cb5feceSJames FeistLanguage:        Cpp
3*3cb5feceSJames Feist# BasedOnStyle:  LLVM
4*3cb5feceSJames FeistAccessModifierOffset: -2
5*3cb5feceSJames FeistAlignAfterOpenBracket: Align
6*3cb5feceSJames FeistAlignConsecutiveAssignments: false
7*3cb5feceSJames FeistAlignConsecutiveDeclarations: false
8*3cb5feceSJames FeistAlignEscapedNewlinesLeft: false
9*3cb5feceSJames FeistAlignOperands:   true
10*3cb5feceSJames FeistAlignTrailingComments: true
11*3cb5feceSJames FeistAllowAllParametersOfDeclarationOnNextLine: true
12*3cb5feceSJames FeistAllowShortBlocksOnASingleLine: false
13*3cb5feceSJames FeistAllowShortCaseLabelsOnASingleLine: false
14*3cb5feceSJames FeistAllowShortFunctionsOnASingleLine: None
15*3cb5feceSJames FeistAllowShortIfStatementsOnASingleLine: false
16*3cb5feceSJames FeistAllowShortLoopsOnASingleLine: false
17*3cb5feceSJames FeistAlwaysBreakAfterDefinitionReturnType: None
18*3cb5feceSJames FeistAlwaysBreakAfterReturnType: None
19*3cb5feceSJames FeistAlwaysBreakBeforeMultilineStrings: false
20*3cb5feceSJames FeistAlwaysBreakTemplateDeclarations: false
21*3cb5feceSJames FeistBinPackArguments: true
22*3cb5feceSJames FeistBinPackParameters: true
23*3cb5feceSJames FeistBraceWrapping:
24*3cb5feceSJames Feist  AfterClass:      true
25*3cb5feceSJames Feist  AfterControlStatement: true
26*3cb5feceSJames Feist  AfterEnum:       true
27*3cb5feceSJames Feist  AfterFunction:   true
28*3cb5feceSJames Feist  AfterNamespace:  false
29*3cb5feceSJames Feist  AfterObjCDeclaration: true
30*3cb5feceSJames Feist  AfterStruct:     true
31*3cb5feceSJames Feist  AfterUnion:      true
32*3cb5feceSJames Feist  BeforeCatch:     true
33*3cb5feceSJames Feist  BeforeElse:      true
34*3cb5feceSJames Feist  IndentBraces:    false
35*3cb5feceSJames FeistBreakBeforeBinaryOperators: None
36*3cb5feceSJames FeistBreakBeforeBraces: Custom
37*3cb5feceSJames FeistBreakBeforeTernaryOperators: true
38*3cb5feceSJames FeistBreakConstructorInitializersBeforeComma: false
39*3cb5feceSJames FeistColumnLimit:     80
40*3cb5feceSJames FeistCommentPragmas:  '^ IWYU pragma:'
41*3cb5feceSJames FeistConstructorInitializerAllOnOneLineOrOnePerLine: false
42*3cb5feceSJames FeistConstructorInitializerIndentWidth: 4
43*3cb5feceSJames FeistContinuationIndentWidth: 4
44*3cb5feceSJames FeistCpp11BracedListStyle: true
45*3cb5feceSJames FeistDerivePointerAlignment: false
46*3cb5feceSJames FeistDisableFormat:   false
47*3cb5feceSJames FeistExperimentalAutoDetectBinPacking: false
48*3cb5feceSJames FeistForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
49*3cb5feceSJames FeistIncludeCategories:
50*3cb5feceSJames Feist  - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
51*3cb5feceSJames Feist    Priority:        2
52*3cb5feceSJames Feist  - Regex:           '^(<|"(gtest|isl|json)/)'
53*3cb5feceSJames Feist    Priority:        3
54*3cb5feceSJames Feist  - Regex:           '.*'
55*3cb5feceSJames Feist    Priority:        1
56*3cb5feceSJames FeistIndentCaseLabels: false
57*3cb5feceSJames FeistIndentWidth:     4
58*3cb5feceSJames FeistIndentWrappedFunctionNames: false
59*3cb5feceSJames FeistKeepEmptyLinesAtTheStartOfBlocks: true
60*3cb5feceSJames FeistMacroBlockBegin: ''
61*3cb5feceSJames FeistMacroBlockEnd:   ''
62*3cb5feceSJames FeistMaxEmptyLinesToKeep: 1
63*3cb5feceSJames FeistNamespaceIndentation: None
64*3cb5feceSJames FeistObjCBlockIndentWidth: 2
65*3cb5feceSJames FeistObjCSpaceAfterProperty: false
66*3cb5feceSJames FeistObjCSpaceBeforeProtocolList: true
67*3cb5feceSJames FeistPenaltyBreakBeforeFirstCallParameter: 19
68*3cb5feceSJames FeistPenaltyBreakComment: 300
69*3cb5feceSJames FeistPenaltyBreakFirstLessLess: 120
70*3cb5feceSJames FeistPenaltyBreakString: 1000
71*3cb5feceSJames FeistPenaltyExcessCharacter: 1000000
72*3cb5feceSJames FeistPenaltyReturnTypeOnItsOwnLine: 60
73*3cb5feceSJames FeistPointerAlignment: Right
74*3cb5feceSJames FeistReflowComments:  true
75*3cb5feceSJames FeistSortIncludes:    false
76*3cb5feceSJames FeistSpaceAfterCStyleCast: false
77*3cb5feceSJames FeistSpaceBeforeAssignmentOperators: true
78*3cb5feceSJames FeistSpaceBeforeParens: ControlStatements
79*3cb5feceSJames FeistSpaceInEmptyParentheses: false
80*3cb5feceSJames FeistSpacesBeforeTrailingComments: 1
81*3cb5feceSJames FeistSpacesInAngles:  false
82*3cb5feceSJames FeistSpacesInContainerLiterals: true
83*3cb5feceSJames FeistSpacesInCStyleCastParentheses: false
84*3cb5feceSJames FeistSpacesInParentheses: false
85*3cb5feceSJames FeistSpacesInSquareBrackets: false
86*3cb5feceSJames FeistStandard:        Cpp11
87*3cb5feceSJames FeistTabWidth:        4
88*3cb5feceSJames FeistUseTab:          Never
89*3cb5feceSJames Feist...
90*3cb5feceSJames Feist
91