chess

Terminal based Chess trainer using Anki
git clone git://git.dimitrijedobrota.com/chess.git
Log | Files | Refs

.clang-format (4999B)


      1 ---
      2 Language:        Cpp
      3 # BasedOnStyle:  LLVM
      4 AccessModifierOffset: -2
      5 AlignAfterOpenBracket: true
      6 AlignArrayOfStructures: Right
      7 AlignConsecutiveMacros: true
      8 AlignConsecutiveAssignments: None
      9 AlignConsecutiveBitFields: None
     10 AlignConsecutiveDeclarations: true
     11 AlignEscapedNewlines: Right
     12 AlignOperands:   Align
     13 AlignTrailingComments: true
     14 AllowAllArgumentsOnNextLine: true
     15 AllowAllConstructorInitializersOnNextLine: true
     16 AllowAllParametersOfDeclarationOnNextLine: true
     17 AllowShortEnumsOnASingleLine: true
     18 AllowShortBlocksOnASingleLine: true
     19 AllowShortCaseLabelsOnASingleLine: false
     20 AllowShortFunctionsOnASingleLine: All
     21 AllowShortLambdasOnASingleLine: All
     22 AllowShortIfStatementsOnASingleLine: Never
     23 AllowShortLoopsOnASingleLine: false
     24 AlwaysBreakAfterDefinitionReturnType: None
     25 AlwaysBreakAfterReturnType: None
     26 AlwaysBreakBeforeMultilineStrings: false
     27 AlwaysBreakTemplateDeclarations: MultiLine
     28 AttributeMacros:
     29   - __capability
     30 BinPackArguments: true
     31 BinPackParameters: true
     32 BraceWrapping:
     33   AfterCaseLabel:  false
     34   AfterClass:      false
     35   AfterControlStatement: Never
     36   AfterEnum:       false
     37   AfterFunction:   false
     38   AfterNamespace:  false
     39   AfterObjCDeclaration: false
     40   AfterStruct:     false
     41   AfterUnion:      false
     42   AfterExternBlock: false
     43   BeforeCatch:     false
     44   BeforeElse:      false
     45   BeforeLambdaBody: false
     46   BeforeWhile:     false
     47   IndentBraces:    false
     48   SplitEmptyFunction: true
     49   SplitEmptyRecord: true
     50   SplitEmptyNamespace: true
     51 BreakBeforeBinaryOperators: None
     52 BreakBeforeConceptDeclarations: true
     53 BreakBeforeBraces: Attach
     54 BreakBeforeInheritanceComma: false
     55 BreakInheritanceList: BeforeColon
     56 BreakBeforeTernaryOperators: true
     57 BreakConstructorInitializersBeforeComma: false
     58 BreakConstructorInitializers: BeforeColon
     59 BreakAfterJavaFieldAnnotations: false
     60 BreakStringLiterals: true
     61 ColumnLimit:     80
     62 CommentPragmas:  '^ IWYU pragma:'
     63 CompactNamespaces: false
     64 ConstructorInitializerAllOnOneLineOrOnePerLine: false
     65 ConstructorInitializerIndentWidth: 4
     66 ContinuationIndentWidth: 4
     67 Cpp11BracedListStyle: true
     68 DeriveLineEnding: true
     69 DerivePointerAlignment: false
     70 DisableFormat:   false
     71 EmptyLineAfterAccessModifier: Never
     72 EmptyLineBeforeAccessModifier: LogicalBlock
     73 ExperimentalAutoDetectBinPacking: false
     74 FixNamespaceComments: true
     75 ForEachMacros:
     76   - foreach
     77   - Q_FOREACH
     78   - BOOST_FOREACH
     79 IfMacros:
     80   - KJ_IF_MAYBE
     81 IncludeBlocks:   Preserve
     82 IncludeCategories:
     83   - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
     84     Priority:        2
     85     SortPriority:    0
     86     CaseSensitive:   false
     87   - Regex:           '^(<|"(gtest|gmock|isl|json)/)'
     88     Priority:        3
     89     SortPriority:    0
     90     CaseSensitive:   false
     91   - Regex:           '.*'
     92     Priority:        1
     93     SortPriority:    0
     94     CaseSensitive:   false
     95 IncludeIsMainRegex: '(Test)?$'
     96 IncludeIsMainSourceRegex: ''
     97 IndentAccessModifiers: false
     98 IndentCaseLabels: false
     99 IndentCaseBlocks: false
    100 IndentGotoLabels: true
    101 IndentPPDirectives: None
    102 IndentExternBlock: AfterExternBlock
    103 IndentRequires:  false
    104 IndentWidth:     2
    105 IndentWrappedFunctionNames: false
    106 InsertTrailingCommas: None
    107 JavaScriptQuotes: Leave
    108 JavaScriptWrapImports: true
    109 KeepEmptyLinesAtTheStartOfBlocks: true
    110 LambdaBodyIndentation: Signature
    111 MacroBlockBegin: ''
    112 MacroBlockEnd:   ''
    113 MaxEmptyLinesToKeep: 1
    114 NamespaceIndentation: None
    115 ObjCBinPackProtocolList: Auto
    116 ObjCBlockIndentWidth: 2
    117 ObjCBreakBeforeNestedBlockParam: true
    118 ObjCSpaceAfterProperty: false
    119 ObjCSpaceBeforeProtocolList: true
    120 PenaltyBreakAssignment: 2
    121 PenaltyBreakBeforeFirstCallParameter: 19
    122 PenaltyBreakComment: 300
    123 PenaltyBreakFirstLessLess: 120
    124 PenaltyBreakString: 1000
    125 PenaltyBreakTemplateDeclaration: 10
    126 PenaltyExcessCharacter: 1000000
    127 PenaltyReturnTypeOnItsOwnLine: 60
    128 PenaltyIndentedWhitespace: 0
    129 PointerAlignment: Right
    130 PPIndentWidth:   -1
    131 ReferenceAlignment: Pointer
    132 ReflowComments:  true
    133 ShortNamespaceLines: 1
    134 SortIncludes:    CaseSensitive
    135 SortJavaStaticImport: Before
    136 SortUsingDeclarations: true
    137 SpaceAfterCStyleCast: false
    138 SpaceAfterLogicalNot: false
    139 SpaceAfterTemplateKeyword: true
    140 SpaceBeforeAssignmentOperators: true
    141 SpaceBeforeCaseColon: false
    142 SpaceBeforeCpp11BracedList: false
    143 SpaceBeforeCtorInitializerColon: true
    144 SpaceBeforeInheritanceColon: true
    145 SpaceBeforeParens: ControlStatements
    146 SpaceAroundPointerQualifiers: Default
    147 SpaceBeforeRangeBasedForLoopColon: true
    148 SpaceInEmptyBlock: false
    149 SpaceInEmptyParentheses: false
    150 SpacesBeforeTrailingComments: 1
    151 SpacesInAngles:  Never
    152 SpacesInConditionalStatement: false
    153 SpacesInContainerLiterals: true
    154 SpacesInCStyleCastParentheses: false
    155 SpacesInLineCommentPrefix:
    156   Minimum:         1
    157   Maximum:         -1
    158 SpacesInParentheses: false
    159 SpacesInSquareBrackets: false
    160 SpaceBeforeSquareBrackets: false
    161 BitFieldColonSpacing: Both
    162 Standard:        Latest
    163 StatementAttributeLikeMacros:
    164   - Q_EMIT
    165 StatementMacros:
    166   - Q_UNUSED
    167   - QT_REQUIRE_VERSION
    168 TabWidth:        8
    169 UseCRLF:         false
    170 UseTab:          Never
    171 WhitespaceSensitiveMacros:
    172   - STRINGIZE
    173   - PP_STRINGIZE
    174   - BOOST_PP_STRINGIZE
    175   - NS_SWIFT_NAME
    176   - CF_SWIFT_NAME
    177 ...
    178