bpaul-chess

UCI chess engine to replace Omelette Chess Engine
Log | Files | Refs | README | LICENSE

.clang-format (2758B)


      1 ---
      2 Language:        Cpp
      3 AccessModifierOffset: -2
      4 AlignAfterOpenBracket: Align
      5 AlignConsecutiveAssignments: Consecutive
      6 AlignConsecutiveBitFields: Consecutive
      7 AlignConsecutiveDeclarations: None
      8 AlignConsecutiveMacros: Consecutive
      9 AlignEscapedNewlines: Left
     10 AlignOperands:   Align
     11 AlignTrailingComments: true
     12 AllowAllArgumentsOnNextLine: true
     13 AllowAllParametersOfDeclarationOnNextLine: true
     14 AllowShortBlocksOnASingleLine: Always
     15 AllowShortCaseLabelsOnASingleLine: false
     16 AllowShortEnumsOnASingleLine: true
     17 AllowShortFunctionsOnASingleLine: All
     18 AllowShortLoopsOnASingleLine: true
     19 AlwaysBreakAfterReturnType: AllDefinitions
     20 AlwaysBreakBeforeMultilineStrings: false
     21 BinPackArguments: true
     22 BinPackParameters: true
     23 BitFieldColonSpacing: Both
     24 BreakBeforeBinaryOperators: All
     25 BreakBeforeBraces: Attach
     26 BreakBeforeTernaryOperators: true
     27 BreakStringLiterals: true
     28 ColumnLimit:     79
     29 ContinuationIndentWidth: 4
     30 DeriveLineEnding: true
     31 DerivePointerAlignment: false
     32 DisableFormat:   false
     33 ExperimentalAutoDetectBinPacking: false
     34 IncludeBlocks:   Regroup
     35 IncludeCategories:
     36   - Regex:           '.*'
     37     Priority:        1
     38     SortPriority:    0
     39     CaseSensitive:   false
     40 # idk what this is but
     41 IncludeIsMainRegex: '(Test)?$'
     42 IncludeIsMainSourceRegex: ''
     43 IndentCaseBlocks: false
     44 IndentCaseLabels: false
     45 IndentGotoLabels: false
     46 IndentPPDirectives: None
     47 IndentWidth:     4
     48 IndentWrappedFunctionNames: false
     49 InsertTrailingCommas: None
     50 KeepEmptyLinesAtTheStartOfBlocks: false
     51 MacroBlockBegin: ''
     52 MacroBlockEnd:   ''
     53 MaxEmptyLinesToKeep: 1
     54 # i will figure this stuff out as i go
     55 PenaltyBreakAssignment: 0
     56 PenaltyBreakBeforeFirstCallParameter: 0
     57 PenaltyBreakComment: 0
     58 PenaltyBreakFirstLessLess: 0
     59 PenaltyBreakString: 0
     60 PenaltyBreakTemplateDeclaration: 0
     61 PenaltyExcessCharacter: 0
     62 PenaltyReturnTypeOnItsOwnLine: 0
     63 PenaltyIndentedWhitespace: 0
     64 # gnu's settings
     65 #PenaltyBreakAssignment: 2
     66 #PenaltyBreakBeforeFirstCallParameter: 19
     67 #PenaltyBreakComment: 300
     68 #PenaltyBreakFirstLessLess: 120
     69 #PenaltyBreakString: 1000
     70 #PenaltyBreakTemplateDeclaration: 10
     71 #PenaltyExcessCharacter: 1000000
     72 #PenaltyReturnTypeOnItsOwnLine: 60
     73 #PenaltyIndentedWhitespace: 0
     74 
     75 PointerAlignment: Right
     76 ReflowComments:  true
     77 SortIncludes:    true
     78 SpaceAfterCStyleCast: false
     79 SpaceAfterLogicalNot: false
     80 SpaceAroundPointerQualifiers: Default
     81 SpaceBeforeAssignmentOperators: true
     82 SpaceBeforeCaseColon: false
     83 SpaceBeforeParens: ControlStatements
     84 SpaceBeforeSquareBrackets: false
     85 SpaceInEmptyBlock: false
     86 SpaceInEmptyParentheses: false
     87 SpacesBeforeTrailingComments: 1
     88 SpacesInCStyleCastParentheses: false
     89 SpacesInConditionalStatement: false
     90 SpacesInContainerLiterals: true
     91 SpacesInParentheses: false
     92 SpacesInSquareBrackets: false
     93 
     94 TabWidth:        4
     95 UseCRLF:         false
     96 UseTab:          AlignWithSpaces
     97 ...
     98