xref: /openbmc/bmcweb/.clang-format (revision 9140a674)
19992332bSEd Tanous---
29992332bSEd TanousLanguage:        Cpp
39992332bSEd Tanous# BasedOnStyle:  Google
49992332bSEd TanousAccessModifierOffset: -1
59992332bSEd TanousAlignAfterOpenBracket: Align
69992332bSEd TanousAlignConsecutiveAssignments: false
79992332bSEd TanousAlignConsecutiveDeclarations: false
89992332bSEd TanousAlignEscapedNewlinesLeft: true
99992332bSEd TanousAlignOperands:   true
109992332bSEd TanousAlignTrailingComments: true
119992332bSEd TanousAllowAllParametersOfDeclarationOnNextLine: true
129992332bSEd TanousAllowShortBlocksOnASingleLine: false
139992332bSEd TanousAllowShortCaseLabelsOnASingleLine: false
149992332bSEd TanousAllowShortFunctionsOnASingleLine: All
159992332bSEd TanousAllowShortIfStatementsOnASingleLine: true
169992332bSEd TanousAllowShortLoopsOnASingleLine: true
179992332bSEd TanousAlwaysBreakAfterDefinitionReturnType: None
189992332bSEd TanousAlwaysBreakAfterReturnType: None
199992332bSEd TanousAlwaysBreakBeforeMultilineStrings: true
209992332bSEd TanousAlwaysBreakTemplateDeclarations: true
219992332bSEd TanousBinPackArguments: true
229992332bSEd TanousBinPackParameters: true
239992332bSEd TanousBraceWrapping:
249992332bSEd Tanous  AfterClass:      false
259992332bSEd Tanous  AfterControlStatement: false
269992332bSEd Tanous  AfterEnum:       false
279992332bSEd Tanous  AfterFunction:   false
289992332bSEd Tanous  AfterNamespace:  false
299992332bSEd Tanous  AfterObjCDeclaration: false
309992332bSEd Tanous  AfterStruct:     false
319992332bSEd Tanous  AfterUnion:      false
329992332bSEd Tanous  BeforeCatch:     false
339992332bSEd Tanous  BeforeElse:      false
349992332bSEd Tanous  IndentBraces:    false
359992332bSEd TanousBreakBeforeBinaryOperators: None
369992332bSEd TanousBreakBeforeBraces: Attach
379992332bSEd TanousBreakBeforeTernaryOperators: true
389992332bSEd TanousBreakConstructorInitializersBeforeComma: false
391ccd57c4SEd TanousColumnLimit:     80
409992332bSEd TanousCommentPragmas:  '^ IWYU pragma:'
419992332bSEd TanousConstructorInitializerAllOnOneLineOrOnePerLine: true
429992332bSEd TanousConstructorInitializerIndentWidth: 4
439992332bSEd TanousContinuationIndentWidth: 4
449992332bSEd TanousCpp11BracedListStyle: true
459992332bSEd TanousDerivePointerAlignment: true
469992332bSEd TanousDisableFormat:   false
479992332bSEd TanousExperimentalAutoDetectBinPacking: false
489992332bSEd TanousForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
499992332bSEd TanousIncludeCategories:
50*9140a674SEd Tanous
51*9140a674SEd Tanous  - Regex:           '^[<"](crow)'
52*9140a674SEd Tanous    Priority:        5
53*9140a674SEd Tanous  - Regex:           '^[<"](boost)'
54*9140a674SEd Tanous    Priority:        6
55*9140a674SEd Tanous  - Regex:           '^[<"](gtest|gmock)'
56*9140a674SEd Tanous    Priority:        7
579992332bSEd Tanous  - Regex:           '^<.*\.h>'
589992332bSEd Tanous    Priority:        1
59*9140a674SEd Tanous  - Regex:           '^<.*\.hpp>'
609992332bSEd Tanous    Priority:        2
61*9140a674SEd Tanous  - Regex:           '^<.*'
629992332bSEd Tanous    Priority:        3
63*9140a674SEd Tanous  - Regex:           '.*'
64*9140a674SEd Tanous    Priority:        4
659992332bSEd TanousIndentCaseLabels: true
669992332bSEd TanousIndentWidth:     2
679992332bSEd TanousIndentWrappedFunctionNames: false
689992332bSEd TanousKeepEmptyLinesAtTheStartOfBlocks: false
699992332bSEd TanousMacroBlockBegin: ''
709992332bSEd TanousMacroBlockEnd:   ''
719992332bSEd TanousMaxEmptyLinesToKeep: 1
729992332bSEd TanousNamespaceIndentation: None
739992332bSEd TanousObjCBlockIndentWidth: 2
749992332bSEd TanousObjCSpaceAfterProperty: false
759992332bSEd TanousObjCSpaceBeforeProtocolList: false
769992332bSEd TanousPenaltyBreakBeforeFirstCallParameter: 1
779992332bSEd TanousPenaltyBreakComment: 300
789992332bSEd TanousPenaltyBreakFirstLessLess: 120
799992332bSEd TanousPenaltyBreakString: 1000
809992332bSEd TanousPenaltyExcessCharacter: 1000000
819992332bSEd TanousPenaltyReturnTypeOnItsOwnLine: 200
829992332bSEd TanousPointerAlignment: Left
839992332bSEd TanousReflowComments:  true
841ff48780SEd TanousSortIncludes:    true
859992332bSEd TanousSpaceAfterCStyleCast: false
869992332bSEd TanousSpaceBeforeAssignmentOperators: true
879992332bSEd TanousSpaceBeforeParens: ControlStatements
889992332bSEd TanousSpaceInEmptyParentheses: false
899992332bSEd TanousSpacesBeforeTrailingComments: 2
909992332bSEd TanousSpacesInAngles:  false
919992332bSEd TanousSpacesInContainerLiterals: true
929992332bSEd TanousSpacesInCStyleCastParentheses: false
939992332bSEd TanousSpacesInParentheses: false
949992332bSEd TanousSpacesInSquareBrackets: false
959992332bSEd TanousStandard:        Auto
969992332bSEd TanousTabWidth:        8
979992332bSEd TanousUseTab:          Never
989992332bSEd Tanous...
999992332bSEd Tanous
100