xref: /openbmc/boost-dbus/.clang-format (revision a8b4eac4)
1*cf5ca673SEd Tanous---
2*cf5ca673SEd TanousBasedOnStyle:  Google
3*cf5ca673SEd TanousAccessModifierOffset: -1
4*cf5ca673SEd TanousAlignAfterOpenBracket: Align
5*cf5ca673SEd TanousAlignConsecutiveAssignments: false
6*cf5ca673SEd TanousAlignConsecutiveDeclarations: false
7*cf5ca673SEd TanousAlignEscapedNewlinesLeft: true
8*cf5ca673SEd TanousAlignOperands:   true
9*cf5ca673SEd TanousAlignTrailingComments: true
10*cf5ca673SEd TanousAllowAllParametersOfDeclarationOnNextLine: true
11*cf5ca673SEd TanousAllowShortBlocksOnASingleLine: false
12*cf5ca673SEd TanousAllowShortCaseLabelsOnASingleLine: false
13*cf5ca673SEd TanousAllowShortFunctionsOnASingleLine: All
14*cf5ca673SEd TanousAllowShortIfStatementsOnASingleLine: true
15*cf5ca673SEd TanousAllowShortLoopsOnASingleLine: true
16*cf5ca673SEd TanousAlwaysBreakAfterDefinitionReturnType: None
17*cf5ca673SEd TanousAlwaysBreakAfterReturnType: None
18*cf5ca673SEd TanousAlwaysBreakBeforeMultilineStrings: true
19*cf5ca673SEd TanousAlwaysBreakTemplateDeclarations: true
20*cf5ca673SEd TanousBinPackArguments: true
21*cf5ca673SEd TanousBinPackParameters: true
22*cf5ca673SEd TanousBraceWrapping:
23*cf5ca673SEd Tanous  AfterClass:      false
24*cf5ca673SEd Tanous  AfterControlStatement: false
25*cf5ca673SEd Tanous  AfterEnum:       false
26*cf5ca673SEd Tanous  AfterFunction:   false
27*cf5ca673SEd Tanous  AfterNamespace:  false
28*cf5ca673SEd Tanous  AfterObjCDeclaration: false
29*cf5ca673SEd Tanous  AfterStruct:     false
30*cf5ca673SEd Tanous  AfterUnion:      false
31*cf5ca673SEd Tanous  BeforeCatch:     false
32*cf5ca673SEd Tanous  BeforeElse:      false
33*cf5ca673SEd Tanous  IndentBraces:    false
34*cf5ca673SEd TanousBreakBeforeBinaryOperators: None
35*cf5ca673SEd TanousBreakBeforeBraces: Attach
36*cf5ca673SEd TanousBreakBeforeTernaryOperators: true
37*cf5ca673SEd TanousBreakConstructorInitializersBeforeComma: false
38*cf5ca673SEd TanousColumnLimit:     80
39*cf5ca673SEd TanousCommentPragmas:  '^ IWYU pragma:'
40*cf5ca673SEd TanousConstructorInitializerAllOnOneLineOrOnePerLine: true
41*cf5ca673SEd TanousConstructorInitializerIndentWidth: 4
42*cf5ca673SEd TanousContinuationIndentWidth: 4
43*cf5ca673SEd TanousCpp11BracedListStyle: true
44*cf5ca673SEd TanousDerivePointerAlignment: true
45*cf5ca673SEd TanousDisableFormat:   false
46*cf5ca673SEd TanousExperimentalAutoDetectBinPacking: false
47*cf5ca673SEd TanousForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
48*cf5ca673SEd TanousIncludeCategories:
49*cf5ca673SEd Tanous  - Regex:           '^[<"](boost)'
50*cf5ca673SEd Tanous    Priority:        6
51*cf5ca673SEd Tanous  - Regex:           '^[<"](gtest|gmock)'
52*cf5ca673SEd Tanous    Priority:        7
53*cf5ca673SEd Tanous  - Regex:           '^<.*\.h>'
54*cf5ca673SEd Tanous    Priority:        1
55*cf5ca673SEd Tanous  - Regex:           '^<.*\.hpp>'
56*cf5ca673SEd Tanous    Priority:        2
57*cf5ca673SEd Tanous  - Regex:           '^<.*'
58*cf5ca673SEd Tanous    Priority:        3
59*cf5ca673SEd Tanous  - Regex:           '.*'
60*cf5ca673SEd Tanous    Priority:        4
61*cf5ca673SEd TanousIndentCaseLabels: true
62*cf5ca673SEd TanousIndentWidth:     2
63*cf5ca673SEd TanousIndentWrappedFunctionNames: false
64*cf5ca673SEd TanousKeepEmptyLinesAtTheStartOfBlocks: false
65*cf5ca673SEd TanousMacroBlockBegin: ''
66*cf5ca673SEd TanousMacroBlockEnd:   ''
67*cf5ca673SEd TanousMaxEmptyLinesToKeep: 1
68*cf5ca673SEd TanousNamespaceIndentation: None
69*cf5ca673SEd TanousObjCBlockIndentWidth: 2
70*cf5ca673SEd TanousObjCSpaceAfterProperty: false
71*cf5ca673SEd TanousObjCSpaceBeforeProtocolList: false
72*cf5ca673SEd TanousPenaltyBreakBeforeFirstCallParameter: 1
73*cf5ca673SEd TanousPenaltyBreakComment: 300
74*cf5ca673SEd TanousPenaltyBreakFirstLessLess: 120
75*cf5ca673SEd TanousPenaltyBreakString: 1000
76*cf5ca673SEd TanousPenaltyExcessCharacter: 1000000
77*cf5ca673SEd TanousPenaltyReturnTypeOnItsOwnLine: 200
78*cf5ca673SEd TanousPointerAlignment: Left
79*cf5ca673SEd TanousReflowComments:  true
80*cf5ca673SEd TanousSortIncludes:    true
81*cf5ca673SEd TanousSpaceAfterCStyleCast: false
82*cf5ca673SEd TanousSpaceBeforeAssignmentOperators: true
83*cf5ca673SEd TanousSpaceBeforeParens: ControlStatements
84*cf5ca673SEd TanousSpaceInEmptyParentheses: false
85*cf5ca673SEd TanousSpacesBeforeTrailingComments: 2
86*cf5ca673SEd TanousSpacesInAngles:  false
87*cf5ca673SEd TanousSpacesInContainerLiterals: true
88*cf5ca673SEd TanousSpacesInCStyleCastParentheses: false
89*cf5ca673SEd TanousSpacesInParentheses: false
90*cf5ca673SEd TanousSpacesInSquareBrackets: false
91*cf5ca673SEd TanousStandard:        Auto
92*cf5ca673SEd TanousTabWidth:        8
93*cf5ca673SEd TanousUseTab:          Never
94*cf5ca673SEd Tanous...
95*cf5ca673SEd Tanous
96