xref: /openbmc/phosphor-buttons/.clang-format (revision 5b98f4db)
10d9377d2SPatrick Venture---
20d9377d2SPatrick VentureLanguage:        Cpp
30d9377d2SPatrick Venture# BasedOnStyle:  LLVM
40d9377d2SPatrick VentureAccessModifierOffset: -2
50d9377d2SPatrick VentureAlignAfterOpenBracket: Align
60d9377d2SPatrick VentureAlignConsecutiveAssignments: false
70d9377d2SPatrick VentureAlignConsecutiveDeclarations: false
8*5b98f4dbSGeorge LiuAlignEscapedNewlines: Right
90d9377d2SPatrick VentureAlignOperands:   true
100d9377d2SPatrick VentureAlignTrailingComments: true
110d9377d2SPatrick VentureAllowAllParametersOfDeclarationOnNextLine: true
120d9377d2SPatrick VentureAllowShortBlocksOnASingleLine: false
130d9377d2SPatrick VentureAllowShortCaseLabelsOnASingleLine: false
140d9377d2SPatrick VentureAllowShortFunctionsOnASingleLine: None
150d9377d2SPatrick VentureAllowShortIfStatementsOnASingleLine: false
160d9377d2SPatrick VentureAllowShortLoopsOnASingleLine: false
170d9377d2SPatrick VentureAlwaysBreakAfterReturnType: None
180d9377d2SPatrick VentureAlwaysBreakBeforeMultilineStrings: false
19*5b98f4dbSGeorge LiuAlwaysBreakTemplateDeclarations: Yes
200d9377d2SPatrick VentureBinPackArguments: true
210d9377d2SPatrick VentureBinPackParameters: true
220d9377d2SPatrick VentureBraceWrapping:
23*5b98f4dbSGeorge Liu  AfterCaseLabel:  true
240d9377d2SPatrick Venture  AfterClass:      true
250d9377d2SPatrick Venture  AfterControlStatement: true
260d9377d2SPatrick Venture  AfterEnum:       true
270d9377d2SPatrick Venture  AfterFunction:   true
280d9377d2SPatrick Venture  AfterNamespace:  true
290d9377d2SPatrick Venture  AfterObjCDeclaration: true
300d9377d2SPatrick Venture  AfterStruct:     true
310d9377d2SPatrick Venture  AfterUnion:      true
32*5b98f4dbSGeorge Liu  AfterExternBlock: true
330d9377d2SPatrick Venture  BeforeCatch:     true
340d9377d2SPatrick Venture  BeforeElse:      true
350d9377d2SPatrick Venture  IndentBraces:    false
36*5b98f4dbSGeorge Liu  SplitEmptyFunction:   false
37*5b98f4dbSGeorge Liu  SplitEmptyRecord:     false
38*5b98f4dbSGeorge Liu  SplitEmptyNamespace:  false
390d9377d2SPatrick VentureBreakBeforeBinaryOperators: None
400d9377d2SPatrick VentureBreakBeforeBraces: Custom
410d9377d2SPatrick VentureBreakBeforeTernaryOperators: true
420d9377d2SPatrick VentureBreakConstructorInitializers: AfterColon
43*5b98f4dbSGeorge LiuBreakInheritanceList: AfterColon
44*5b98f4dbSGeorge LiuBreakStringLiterals: false
450d9377d2SPatrick VentureColumnLimit:     80
460d9377d2SPatrick VentureCommentPragmas:  '^ IWYU pragma:'
47*5b98f4dbSGeorge LiuCompactNamespaces: false
480d9377d2SPatrick VentureConstructorInitializerAllOnOneLineOrOnePerLine: false
490d9377d2SPatrick VentureConstructorInitializerIndentWidth: 4
500d9377d2SPatrick VentureContinuationIndentWidth: 4
510d9377d2SPatrick VentureCpp11BracedListStyle: true
52*5b98f4dbSGeorge LiuDeriveLineEnding: false
530d9377d2SPatrick VentureDerivePointerAlignment: false
540d9377d2SPatrick VenturePointerAlignment: Left
550d9377d2SPatrick VentureDisableFormat:   false
560d9377d2SPatrick VentureExperimentalAutoDetectBinPacking: false
570d9377d2SPatrick VentureFixNamespaceComments: true
580d9377d2SPatrick VentureForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
590d9377d2SPatrick VentureIncludeBlocks: Regroup
600d9377d2SPatrick VentureIncludeCategories:
610d9377d2SPatrick Venture  - Regex:           '^[<"](gtest|gmock)'
62*5b98f4dbSGeorge Liu    Priority:        7
630d9377d2SPatrick Venture  - Regex:           '^"config.h"'
640d9377d2SPatrick Venture    Priority:        -1
65*5b98f4dbSGeorge Liu  - Regex:           '^".*\.h"'
660d9377d2SPatrick Venture    Priority:        1
67*5b98f4dbSGeorge Liu  - Regex:           '^".*\.hpp"'
680d9377d2SPatrick Venture    Priority:        2
69*5b98f4dbSGeorge Liu  - Regex:           '^<.*\.h>'
700d9377d2SPatrick Venture    Priority:        3
71*5b98f4dbSGeorge Liu  - Regex:           '^<.*\.hpp>'
720d9377d2SPatrick Venture    Priority:        4
73*5b98f4dbSGeorge Liu  - Regex:           '^<.*'
74*5b98f4dbSGeorge Liu    Priority:        5
75*5b98f4dbSGeorge Liu  - Regex:           '.*'
76*5b98f4dbSGeorge Liu    Priority:        6
770d9377d2SPatrick VentureIndentCaseLabels: true
780d9377d2SPatrick VentureIndentWidth:     4
790d9377d2SPatrick VentureIndentWrappedFunctionNames: true
80*5b98f4dbSGeorge LiuKeepEmptyLinesAtTheStartOfBlocks: false
810d9377d2SPatrick VentureMacroBlockBegin: ''
820d9377d2SPatrick VentureMacroBlockEnd:   ''
830d9377d2SPatrick VentureMaxEmptyLinesToKeep: 1
840d9377d2SPatrick VentureNamespaceIndentation: None
850d9377d2SPatrick VentureObjCBlockIndentWidth: 2
860d9377d2SPatrick VentureObjCSpaceAfterProperty: false
870d9377d2SPatrick VentureObjCSpaceBeforeProtocolList: true
880d9377d2SPatrick VenturePenaltyBreakBeforeFirstCallParameter: 19
890d9377d2SPatrick VenturePenaltyBreakComment: 300
900d9377d2SPatrick VenturePenaltyBreakFirstLessLess: 120
910d9377d2SPatrick VenturePenaltyBreakString: 1000
920d9377d2SPatrick VenturePenaltyExcessCharacter: 1000000
930d9377d2SPatrick VenturePenaltyReturnTypeOnItsOwnLine: 60
940d9377d2SPatrick VentureReflowComments:  true
950d9377d2SPatrick VentureSortIncludes:    true
960d9377d2SPatrick VentureSortUsingDeclarations: true
970d9377d2SPatrick VentureSpaceAfterCStyleCast: false
98*5b98f4dbSGeorge LiuSpaceAfterTemplateKeyword: true
990d9377d2SPatrick VentureSpaceBeforeAssignmentOperators: true
100*5b98f4dbSGeorge LiuSpaceBeforeCpp11BracedList: false
101*5b98f4dbSGeorge LiuSpaceBeforeCtorInitializerColon: true
102*5b98f4dbSGeorge LiuSpaceBeforeInheritanceColon: true
1030d9377d2SPatrick VentureSpaceBeforeParens: ControlStatements
104*5b98f4dbSGeorge LiuSpaceBeforeRangeBasedForLoopColon: true
1050d9377d2SPatrick VentureSpaceInEmptyParentheses: false
1060d9377d2SPatrick VentureSpacesBeforeTrailingComments: 1
1070d9377d2SPatrick VentureSpacesInAngles:  false
1080d9377d2SPatrick VentureSpacesInContainerLiterals: true
1090d9377d2SPatrick VentureSpacesInCStyleCastParentheses: false
1100d9377d2SPatrick VentureSpacesInParentheses: false
1110d9377d2SPatrick VentureSpacesInSquareBrackets: false
112*5b98f4dbSGeorge LiuStandard:        Latest
1130d9377d2SPatrick VentureTabWidth:        4
114*5b98f4dbSGeorge LiuUseCRLF: false
1150d9377d2SPatrick VentureUseTab:          Never
1160d9377d2SPatrick Venture...
117