xref: /openbmc/bmcweb/.clang-format (revision 1ff48780)
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:
509992332bSEd Tanous  - Regex:           '^<.*\.h>'
519992332bSEd Tanous    Priority:        1
529992332bSEd Tanous  - Regex:           '^<.*'
539992332bSEd Tanous    Priority:        2
549992332bSEd Tanous  - Regex:           '.*'
559992332bSEd Tanous    Priority:        3
569992332bSEd TanousIndentCaseLabels: true
579992332bSEd TanousIndentWidth:     2
589992332bSEd TanousIndentWrappedFunctionNames: false
599992332bSEd TanousKeepEmptyLinesAtTheStartOfBlocks: false
609992332bSEd TanousMacroBlockBegin: ''
619992332bSEd TanousMacroBlockEnd:   ''
629992332bSEd TanousMaxEmptyLinesToKeep: 1
639992332bSEd TanousNamespaceIndentation: None
649992332bSEd TanousObjCBlockIndentWidth: 2
659992332bSEd TanousObjCSpaceAfterProperty: false
669992332bSEd TanousObjCSpaceBeforeProtocolList: false
679992332bSEd TanousPenaltyBreakBeforeFirstCallParameter: 1
689992332bSEd TanousPenaltyBreakComment: 300
699992332bSEd TanousPenaltyBreakFirstLessLess: 120
709992332bSEd TanousPenaltyBreakString: 1000
719992332bSEd TanousPenaltyExcessCharacter: 1000000
729992332bSEd TanousPenaltyReturnTypeOnItsOwnLine: 200
739992332bSEd TanousPointerAlignment: Left
749992332bSEd TanousReflowComments:  true
75*1ff48780SEd TanousSortIncludes:    true
769992332bSEd TanousSpaceAfterCStyleCast: false
779992332bSEd TanousSpaceBeforeAssignmentOperators: true
789992332bSEd TanousSpaceBeforeParens: ControlStatements
799992332bSEd TanousSpaceInEmptyParentheses: false
809992332bSEd TanousSpacesBeforeTrailingComments: 2
819992332bSEd TanousSpacesInAngles:  false
829992332bSEd TanousSpacesInContainerLiterals: true
839992332bSEd TanousSpacesInCStyleCastParentheses: false
849992332bSEd TanousSpacesInParentheses: false
859992332bSEd TanousSpacesInSquareBrackets: false
869992332bSEd TanousStandard:        Auto
879992332bSEd TanousTabWidth:        8
889992332bSEd TanousUseTab:          Never
899992332bSEd Tanous...
909992332bSEd Tanous
91