yaml-cpp

FORK: A YAML parser and emitter in C++
git clone https://git.neptards.moe/neptards/yaml-cpp.git
Log | Files | Refs | README | LICENSE

.clang-format (1390B)


      1 ---
      2 # BasedOnStyle:  Google
      3 AccessModifierOffset: -1
      4 ConstructorInitializerIndentWidth: 4
      5 AlignEscapedNewlinesLeft: true
      6 AlignTrailingComments: true
      7 AllowAllParametersOfDeclarationOnNextLine: true
      8 AllowShortIfStatementsOnASingleLine: false
      9 AllowShortLoopsOnASingleLine: false
     10 AlwaysBreakTemplateDeclarations: true
     11 AlwaysBreakBeforeMultilineStrings: true
     12 BreakBeforeBinaryOperators: false
     13 BreakBeforeTernaryOperators: true
     14 BreakConstructorInitializersBeforeComma: false
     15 BinPackParameters: true
     16 ColumnLimit:     80
     17 ConstructorInitializerAllOnOneLineOrOnePerLine: true
     18 DerivePointerBinding: true
     19 ExperimentalAutoDetectBinPacking: false
     20 IndentCaseLabels: true
     21 MaxEmptyLinesToKeep: 1
     22 NamespaceIndentation: None
     23 ObjCSpaceBeforeProtocolList: false
     24 PenaltyBreakBeforeFirstCallParameter: 1
     25 PenaltyBreakComment: 60
     26 PenaltyBreakString: 1000
     27 PenaltyBreakFirstLessLess: 120
     28 PenaltyExcessCharacter: 1000000
     29 PenaltyReturnTypeOnItsOwnLine: 200
     30 PointerBindsToType: true
     31 SpacesBeforeTrailingComments: 2
     32 Cpp11BracedListStyle: true
     33 Standard:        Cpp11
     34 IndentWidth:     2
     35 TabWidth:        8
     36 UseTab:          Never
     37 BreakBeforeBraces: Attach
     38 IndentFunctionDeclarationAfterType: true
     39 SpacesInParentheses: false
     40 SpacesInAngles:  false
     41 SpaceInEmptyParentheses: false
     42 SpacesInCStyleCastParentheses: false
     43 SpaceAfterControlStatementKeyword: true
     44 SpaceBeforeAssignmentOperators: true
     45 ContinuationIndentWidth: 4
     46 ...
     47