xref: /openbmc/gpioplus/.clang-format (revision b80c584e)
11d25055fSWilliam A. Kennington III---
21d25055fSWilliam A. Kennington IIILanguage:        Cpp
31d25055fSWilliam A. Kennington III# BasedOnStyle:  LLVM
41d25055fSWilliam A. Kennington IIIAccessModifierOffset: -2
51d25055fSWilliam A. Kennington IIIAlignAfterOpenBracket: Align
61d25055fSWilliam A. Kennington IIIAlignConsecutiveAssignments: false
71d25055fSWilliam A. Kennington IIIAlignConsecutiveDeclarations: false
87ba248adSPatrick WilliamsAlignEscapedNewlines: Right
97ba248adSPatrick WilliamsAlignOperands:  Align
107ba248adSPatrick WilliamsAlignTrailingComments:
117ba248adSPatrick Williams  Kind: Always
127ba248adSPatrick Williams  OverEmptyLines: 1
131d25055fSWilliam A. Kennington IIIAllowAllParametersOfDeclarationOnNextLine: true
147ba248adSPatrick WilliamsAllowShortBlocksOnASingleLine: Empty
151d25055fSWilliam A. Kennington IIIAllowShortCaseLabelsOnASingleLine: false
167ba248adSPatrick WilliamsAllowShortFunctionsOnASingleLine: Empty
17c6b3d0fbSPatrick WilliamsAllowShortIfStatementsOnASingleLine: Never
18c6b3d0fbSPatrick WilliamsAllowShortLambdasOnASingleLine: true
191d25055fSWilliam A. Kennington IIIAllowShortLoopsOnASingleLine: false
201d25055fSWilliam A. Kennington IIIAlwaysBreakAfterReturnType: None
211d25055fSWilliam A. Kennington IIIAlwaysBreakBeforeMultilineStrings: false
227ba248adSPatrick WilliamsAlwaysBreakTemplateDeclarations: Yes
231d25055fSWilliam A. Kennington IIIBinPackArguments: true
241d25055fSWilliam A. Kennington IIIBinPackParameters: true
25c6b3d0fbSPatrick WilliamsBitFieldColonSpacing: None
261d25055fSWilliam A. Kennington IIIBraceWrapping:
277ba248adSPatrick Williams  AfterCaseLabel:  true
281d25055fSWilliam A. Kennington III  AfterClass:      true
291d25055fSWilliam A. Kennington III  AfterControlStatement: true
301d25055fSWilliam A. Kennington III  AfterEnum:       true
31c6b3d0fbSPatrick Williams  AfterExternBlock: true
321d25055fSWilliam A. Kennington III  AfterFunction:   true
331d25055fSWilliam A. Kennington III  AfterNamespace:  true
341d25055fSWilliam A. Kennington III  AfterObjCDeclaration: true
351d25055fSWilliam A. Kennington III  AfterStruct:     true
361d25055fSWilliam A. Kennington III  AfterUnion:      true
371d25055fSWilliam A. Kennington III  BeforeCatch:     true
381d25055fSWilliam A. Kennington III  BeforeElse:      true
39c6b3d0fbSPatrick Williams  BeforeLambdaBody: false
40c6b3d0fbSPatrick Williams  BeforeWhile:     false
411d25055fSWilliam A. Kennington III  IndentBraces:    false
427ba248adSPatrick Williams  SplitEmptyFunction:   false
437ba248adSPatrick Williams  SplitEmptyRecord:     false
447ba248adSPatrick Williams  SplitEmptyNamespace:  false
457ba248adSPatrick WilliamsBreakAfterAttributes: Never
461d25055fSWilliam A. Kennington IIIBreakBeforeBinaryOperators: None
471d25055fSWilliam A. Kennington IIIBreakBeforeBraces: Custom
481d25055fSWilliam A. Kennington IIIBreakBeforeTernaryOperators: true
491d25055fSWilliam A. Kennington IIIBreakConstructorInitializers: AfterColon
507ba248adSPatrick WilliamsBreakInheritanceList: AfterColon
517ba248adSPatrick WilliamsBreakStringLiterals: false
521d25055fSWilliam A. Kennington IIIColumnLimit:     80
531d25055fSWilliam A. Kennington IIICommentPragmas:  '^ IWYU pragma:'
547ba248adSPatrick WilliamsCompactNamespaces: false
551d25055fSWilliam A. Kennington IIIConstructorInitializerIndentWidth: 4
561d25055fSWilliam A. Kennington IIIContinuationIndentWidth: 4
571d25055fSWilliam A. Kennington IIICpp11BracedListStyle: true
581d25055fSWilliam A. Kennington IIIDerivePointerAlignment: false
591d25055fSWilliam A. Kennington IIIDisableFormat:   false
601d25055fSWilliam A. Kennington IIIFixNamespaceComments: true
61c6b3d0fbSPatrick WilliamsForEachMacros:
62c6b3d0fbSPatrick Williams  - foreach
63c6b3d0fbSPatrick Williams  - Q_FOREACH
64c6b3d0fbSPatrick Williams  - BOOST_FOREACH
657ba248adSPatrick WilliamsIncludeBlocks: Regroup
667ba248adSPatrick WilliamsIncludeCategories:
677ba248adSPatrick Williams  - Regex:           '^[<"](gtest|gmock)'
687ba248adSPatrick Williams    Priority:        7
697ba248adSPatrick Williams  - Regex:           '^"config.h"'
707ba248adSPatrick Williams    Priority:        -1
717ba248adSPatrick Williams  - Regex:           '^".*\.h"'
727ba248adSPatrick Williams    Priority:        1
737ba248adSPatrick Williams  - Regex:           '^".*\.hpp"'
747ba248adSPatrick Williams    Priority:        2
757ba248adSPatrick Williams  - Regex:           '^<.*\.h>'
767ba248adSPatrick Williams    Priority:        3
777ba248adSPatrick Williams  - Regex:           '^<.*\.hpp>'
787ba248adSPatrick Williams    Priority:        4
797ba248adSPatrick Williams  - Regex:           '^<.*'
807ba248adSPatrick Williams    Priority:        5
817ba248adSPatrick Williams  - Regex:           '.*'
827ba248adSPatrick Williams    Priority:        6
831d25055fSWilliam A. Kennington IIIIndentCaseLabels: true
84c6b3d0fbSPatrick WilliamsIndentExternBlock: NoIndent
857ba248adSPatrick WilliamsIndentRequiresClause: true
861d25055fSWilliam A. Kennington IIIIndentWidth:     4
871d25055fSWilliam A. Kennington IIIIndentWrappedFunctionNames: true
887ba248adSPatrick WilliamsInsertNewlineAtEOF: true
897ba248adSPatrick WilliamsKeepEmptyLinesAtTheStartOfBlocks: false
90*b80c584eSPatrick WilliamsLambdaBodyIndentation: Signature
917ba248adSPatrick WilliamsLineEnding: LF
921d25055fSWilliam A. Kennington IIIMacroBlockBegin: ''
931d25055fSWilliam A. Kennington IIIMacroBlockEnd:   ''
941d25055fSWilliam A. Kennington IIIMaxEmptyLinesToKeep: 1
951d25055fSWilliam A. Kennington IIINamespaceIndentation: None
961d25055fSWilliam A. Kennington IIIObjCBlockIndentWidth: 2
971d25055fSWilliam A. Kennington IIIObjCSpaceAfterProperty: false
981d25055fSWilliam A. Kennington IIIObjCSpaceBeforeProtocolList: true
99c6b3d0fbSPatrick WilliamsPackConstructorInitializers: BinPack
1007ba248adSPatrick WilliamsPenaltyBreakAssignment: 25
101*b80c584eSPatrick WilliamsPenaltyBreakBeforeFirstCallParameter: 50
1021d25055fSWilliam A. Kennington IIIPenaltyBreakComment: 300
1031d25055fSWilliam A. Kennington IIIPenaltyBreakFirstLessLess: 120
1041d25055fSWilliam A. Kennington IIIPenaltyBreakString: 1000
105*b80c584eSPatrick WilliamsPenaltyBreakTemplateDeclaration: 10
1061d25055fSWilliam A. Kennington IIIPenaltyExcessCharacter: 1000000
1071d25055fSWilliam A. Kennington IIIPenaltyReturnTypeOnItsOwnLine: 60
108*b80c584eSPatrick WilliamsPenaltyIndentedWhitespace: 1
109c6b3d0fbSPatrick WilliamsPointerAlignment: Left
1107ba248adSPatrick WilliamsQualifierAlignment: Left
1117ba248adSPatrick WilliamsReferenceAlignment: Left
1121d25055fSWilliam A. Kennington IIIReflowComments:  true
1137ba248adSPatrick WilliamsRequiresClausePosition: OwnLine
1147ba248adSPatrick WilliamsRequiresExpressionIndentation: Keyword
115c6b3d0fbSPatrick WilliamsSortIncludes: CaseSensitive
1161d25055fSWilliam A. Kennington IIISortUsingDeclarations: true
1171d25055fSWilliam A. Kennington IIISpaceAfterCStyleCast: false
1187ba248adSPatrick WilliamsSpaceAfterTemplateKeyword: true
1191d25055fSWilliam A. Kennington IIISpaceBeforeAssignmentOperators: true
1207ba248adSPatrick WilliamsSpaceBeforeCpp11BracedList: false
1217ba248adSPatrick WilliamsSpaceBeforeCtorInitializerColon: true
1227ba248adSPatrick WilliamsSpaceBeforeInheritanceColon: true
1231d25055fSWilliam A. Kennington IIISpaceBeforeParens: ControlStatements
1247ba248adSPatrick WilliamsSpaceBeforeRangeBasedForLoopColon: true
1251d25055fSWilliam A. Kennington IIISpaceInEmptyParentheses: false
1261d25055fSWilliam A. Kennington IIISpacesBeforeTrailingComments: 1
127c6b3d0fbSPatrick WilliamsSpacesInAngles: Never
1281d25055fSWilliam A. Kennington IIISpacesInContainerLiterals: true
1291d25055fSWilliam A. Kennington IIISpacesInCStyleCastParentheses: false
1301d25055fSWilliam A. Kennington IIISpacesInParentheses: false
1311d25055fSWilliam A. Kennington IIISpacesInSquareBrackets: false
1327ba248adSPatrick WilliamsStandard:        Latest
1331d25055fSWilliam A. Kennington IIITabWidth:        4
1341d25055fSWilliam A. Kennington IIIUseTab:          Never
1351d25055fSWilliam A. Kennington III...
1361d25055fSWilliam A. Kennington III
137