dep

Package manager for embedded C libraries
git clone git://git.finwo.net/app/dep
Log | Files | Refs | README | LICENSE

.clang-format (9073B)


      1 ---
      2 Language:        Cpp
      3 AccessModifierOffset: -1
      4 AlignAfterOpenBracket: Align
      5 AlignArrayOfStructures: None
      6 AlignConsecutiveAssignments:
      7   Enabled:         true
      8   AcrossEmptyLines: false
      9   AcrossComments:  false
     10   AlignCompound:   false
     11   AlignFunctionDeclarations: false
     12   AlignFunctionPointers: false
     13   PadOperators:    true
     14 AlignConsecutiveBitFields:
     15   Enabled:         false
     16   AcrossEmptyLines: false
     17   AcrossComments:  false
     18   AlignCompound:   false
     19   AlignFunctionDeclarations: false
     20   AlignFunctionPointers: false
     21   PadOperators:    false
     22 AlignConsecutiveDeclarations:
     23   Enabled:         true
     24   AcrossEmptyLines: false
     25   AcrossComments:  false
     26   AlignCompound:   false
     27   AlignFunctionDeclarations: true
     28   AlignFunctionPointers: false
     29   PadOperators:    false
     30 AlignConsecutiveMacros:
     31   Enabled:         true
     32   AcrossEmptyLines: false
     33   AcrossComments:  false
     34   AlignCompound:   false
     35   AlignFunctionDeclarations: false
     36   AlignFunctionPointers: false
     37   PadOperators:    false
     38 AlignConsecutiveShortCaseStatements:
     39   Enabled:         true
     40   AcrossEmptyLines: false
     41   AcrossComments:  false
     42   AlignCaseArrows: false
     43   AlignCaseColons: false
     44 AlignConsecutiveTableGenBreakingDAGArgColons:
     45   Enabled:         false
     46   AcrossEmptyLines: false
     47   AcrossComments:  false
     48   AlignCompound:   false
     49   AlignFunctionDeclarations: false
     50   AlignFunctionPointers: false
     51   PadOperators:    false
     52 AlignConsecutiveTableGenCondOperatorColons:
     53   Enabled:         false
     54   AcrossEmptyLines: false
     55   AcrossComments:  false
     56   AlignCompound:   false
     57   AlignFunctionDeclarations: false
     58   AlignFunctionPointers: false
     59   PadOperators:    false
     60 AlignConsecutiveTableGenDefinitionColons:
     61   Enabled:         false
     62   AcrossEmptyLines: false
     63   AcrossComments:  false
     64   AlignCompound:   false
     65   AlignFunctionDeclarations: false
     66   AlignFunctionPointers: false
     67   PadOperators:    false
     68 AlignEscapedNewlines: Left
     69 AlignOperands:   Align
     70 AlignTrailingComments:
     71   Kind:            Always
     72   OverEmptyLines:  0
     73 AllowAllArgumentsOnNextLine: true
     74 AllowAllParametersOfDeclarationOnNextLine: true
     75 AllowBreakBeforeNoexceptSpecifier: Never
     76 AllowShortBlocksOnASingleLine: Never
     77 AllowShortCaseExpressionOnASingleLine: true
     78 AllowShortCaseLabelsOnASingleLine: false
     79 AllowShortCompoundRequirementOnASingleLine: true
     80 AllowShortEnumsOnASingleLine: true
     81 AllowShortFunctionsOnASingleLine: None
     82 AllowShortIfStatementsOnASingleLine: WithoutElse
     83 AllowShortLambdasOnASingleLine: All
     84 AllowShortLoopsOnASingleLine: true
     85 AllowShortNamespacesOnASingleLine: false
     86 AlwaysBreakAfterDefinitionReturnType: None
     87 AlwaysBreakBeforeMultilineStrings: true
     88 AttributeMacros:
     89   - __capability
     90   - absl_nonnull
     91   - absl_nullable
     92   - absl_nullability_unknown
     93 BinPackArguments: true
     94 BinPackLongBracedList: true
     95 BinPackParameters: BinPack
     96 BitFieldColonSpacing: Both
     97 BracedInitializerIndentWidth: -1
     98 BraceWrapping:
     99   AfterCaseLabel:  false
    100   AfterClass:      false
    101   AfterControlStatement: Never
    102   AfterEnum:       false
    103   AfterExternBlock: false
    104   AfterFunction:   true
    105   AfterNamespace:  false
    106   AfterObjCDeclaration: false
    107   AfterStruct:     false
    108   AfterUnion:      false
    109   BeforeCatch:     false
    110   BeforeElse:      false
    111   BeforeLambdaBody: false
    112   BeforeWhile:     false
    113   IndentBraces:    false
    114   SplitEmptyFunction: true
    115   SplitEmptyRecord: true
    116   SplitEmptyNamespace: true
    117 BreakAdjacentStringLiterals: true
    118 BreakAfterAttributes: Leave
    119 BreakAfterJavaFieldAnnotations: false
    120 BreakAfterReturnType: None
    121 BreakArrays:     true
    122 BreakBeforeBinaryOperators: None
    123 BreakBeforeConceptDeclarations: Always
    124 BreakBeforeBraces: Attach
    125 BreakBeforeInlineASMColon: OnlyMultiline
    126 BreakBeforeTemplateCloser: false
    127 BreakBeforeTernaryOperators: true
    128 BreakBinaryOperations: Never
    129 BreakConstructorInitializers: BeforeColon
    130 BreakFunctionDefinitionParameters: false
    131 BreakInheritanceList: BeforeColon
    132 BreakStringLiterals: true
    133 BreakTemplateDeclarations: Yes
    134 ColumnLimit:     120
    135 CommentPragmas:  '^ IWYU pragma:'
    136 CompactNamespaces: false
    137 ConstructorInitializerIndentWidth: 4
    138 ContinuationIndentWidth: 4
    139 Cpp11BracedListStyle: true
    140 DerivePointerAlignment: false
    141 DisableFormat:   false
    142 EmptyLineAfterAccessModifier: Never
    143 EmptyLineBeforeAccessModifier: LogicalBlock
    144 EnumTrailingComma: Leave
    145 ExperimentalAutoDetectBinPacking: false
    146 FixNamespaceComments: true
    147 ForEachMacros:
    148   - foreach
    149   - Q_FOREACH
    150   - BOOST_FOREACH
    151 IfMacros:
    152   - KJ_IF_MAYBE
    153 IncludeBlocks:   Regroup
    154 IncludeCategories:
    155   - Regex:           '^<ext/.*\.h>'
    156     Priority:        2
    157     SortPriority:    0
    158     CaseSensitive:   false
    159   - Regex:           '^<.*\.h>'
    160     Priority:        1
    161     SortPriority:    0
    162     CaseSensitive:   false
    163   - Regex:           '^<.*'
    164     Priority:        2
    165     SortPriority:    0
    166     CaseSensitive:   false
    167   - Regex:           '.*'
    168     Priority:        3
    169     SortPriority:    0
    170     CaseSensitive:   false
    171 IncludeIsMainRegex: '([-_](test|unittest))?$'
    172 IncludeIsMainSourceRegex: ''
    173 IndentAccessModifiers: false
    174 IndentCaseBlocks: true
    175 IndentCaseLabels: true
    176 IndentExportBlock: true
    177 IndentExternBlock: AfterExternBlock
    178 IndentGotoLabels: true
    179 IndentPPDirectives: None
    180 IndentRequiresClause: true
    181 IndentWidth:     2
    182 IndentWrappedFunctionNames: false
    183 InsertBraces:    false
    184 InsertNewlineAtEOF: true
    185 InsertTrailingCommas: None
    186 IntegerLiteralSeparator:
    187   Binary:          0
    188   BinaryMinDigits: 0
    189   Decimal:         0
    190   DecimalMinDigits: 0
    191   Hex:             0
    192   HexMinDigits:    0
    193 JavaScriptQuotes: Leave
    194 JavaScriptWrapImports: true
    195 KeepEmptyLines:
    196   AtEndOfFile:     false
    197   AtStartOfBlock:  false
    198   AtStartOfFile:   false
    199 KeepFormFeed:    false
    200 LambdaBodyIndentation: Signature
    201 LineEnding:      DeriveLF
    202 MacroBlockBegin: ''
    203 MacroBlockEnd:   ''
    204 MainIncludeChar: Quote
    205 MaxEmptyLinesToKeep: 1
    206 NamespaceIndentation: None
    207 ObjCBinPackProtocolList: Never
    208 ObjCBlockIndentWidth: 2
    209 ObjCBreakBeforeNestedBlockParam: true
    210 ObjCSpaceAfterProperty: false
    211 ObjCSpaceBeforeProtocolList: true
    212 OneLineFormatOffRegex: ''
    213 PackConstructorInitializers: NextLine
    214 PenaltyBreakAssignment: 2
    215 PenaltyBreakBeforeFirstCallParameter: 1
    216 PenaltyBreakBeforeMemberAccess: 150
    217 PenaltyBreakComment: 300
    218 PenaltyBreakFirstLessLess: 120
    219 PenaltyBreakOpenParenthesis: 0
    220 PenaltyBreakScopeResolution: 500
    221 PenaltyBreakString: 1000
    222 PenaltyBreakTemplateDeclaration: 10
    223 PenaltyExcessCharacter: 1000000
    224 PenaltyIndentedWhitespace: 0
    225 PenaltyReturnTypeOnItsOwnLine: 200
    226 PointerAlignment: Right
    227 PPIndentWidth:   -1
    228 QualifierAlignment: Leave
    229 RawStringFormats:
    230   - Language:        Cpp
    231     Delimiters:
    232       - cc
    233       - CC
    234       - cpp
    235       - Cpp
    236       - CPP
    237       - 'c++'
    238       - 'C++'
    239     CanonicalDelimiter: ''
    240     BasedOnStyle:    google
    241   - Language:        TextProto
    242     Delimiters:
    243       - pb
    244       - PB
    245       - proto
    246       - PROTO
    247     EnclosingFunctions:
    248       - EqualsProto
    249       - EquivToProto
    250       - PARSE_PARTIAL_TEXT_PROTO
    251       - PARSE_TEST_PROTO
    252       - PARSE_TEXT_PROTO
    253       - ParseTextOrDie
    254       - ParseTextProtoOrDie
    255       - ParseTestProto
    256       - ParsePartialTestProto
    257     CanonicalDelimiter: pb
    258     BasedOnStyle:    google
    259 ReferenceAlignment: Pointer
    260 ReflowComments:  Always
    261 RemoveBracesLLVM: false
    262 RemoveEmptyLinesInUnwrappedLines: false
    263 RemoveParentheses: Leave
    264 RemoveSemicolon: false
    265 RequiresClausePosition: OwnLine
    266 RequiresExpressionIndentation: OuterScope
    267 SeparateDefinitionBlocks: Leave
    268 ShortNamespaceLines: 1
    269 SkipMacroDefinitionBody: false
    270 SortIncludes:
    271   Enabled:         true
    272   IgnoreCase:      false
    273 SortJavaStaticImport: Before
    274 SortUsingDeclarations: LexicographicNumeric
    275 SpaceAfterCStyleCast: false
    276 SpaceAfterLogicalNot: false
    277 SpaceAfterOperatorKeyword: false
    278 SpaceAfterTemplateKeyword: true
    279 SpaceAroundPointerQualifiers: Default
    280 SpaceBeforeAssignmentOperators: true
    281 SpaceBeforeCaseColon: false
    282 SpaceBeforeCpp11BracedList: false
    283 SpaceBeforeCtorInitializerColon: true
    284 SpaceBeforeInheritanceColon: true
    285 SpaceBeforeJsonColon: false
    286 SpaceBeforeParens: ControlStatements
    287 SpaceBeforeParensOptions:
    288   AfterControlStatements: true
    289   AfterForeachMacros: true
    290   AfterFunctionDefinitionName: false
    291   AfterFunctionDeclarationName: false
    292   AfterIfMacros:   true
    293   AfterNot:        false
    294   AfterOverloadedOperator: false
    295   AfterPlacementOperator: true
    296   AfterRequiresInClause: false
    297   AfterRequiresInExpression: false
    298   BeforeNonEmptyParentheses: false
    299 SpaceBeforeRangeBasedForLoopColon: true
    300 SpaceBeforeSquareBrackets: false
    301 SpaceInEmptyBlock: false
    302 SpacesBeforeTrailingComments: 2
    303 SpacesInAngles:  Never
    304 SpacesInContainerLiterals: true
    305 SpacesInLineCommentPrefix:
    306   Minimum:         1
    307   Maximum:         -1
    308 SpacesInParens:  Never
    309 SpacesInParensOptions:
    310   ExceptDoubleParentheses: false
    311   InCStyleCasts:   false
    312   InConditionalStatements: false
    313   InEmptyParentheses: false
    314   Other:           false
    315 SpacesInSquareBrackets: false
    316 Standard:        Auto
    317 StatementAttributeLikeMacros:
    318   - Q_EMIT
    319 StatementMacros:
    320   - Q_UNUSED
    321   - QT_REQUIRE_VERSION
    322 TableGenBreakInsideDAGArg: DontBreak
    323 TabWidth:        8
    324 UseTab:          Never
    325 VerilogBreakBetweenInstancePorts: true
    326 WhitespaceSensitiveMacros:
    327   - BOOST_PP_STRINGIZE
    328   - CF_SWIFT_NAME
    329   - NS_SWIFT_NAME
    330   - PP_STRINGIZE
    331   - STRINGIZE
    332 WrapNamespaceBodyWithEmptyLines: Leave
    333 ...
    334