stamd

Static Markdown Page Generator
git clone git://git.dimitrijedobrota.com/stamd.git
Log | Files | Refs | README | LICENSE

.clang-format (4697B)


      1 ---
      2 Language: Cpp
      3 # BasedOnStyle: Chromium
      4 AccessModifierOffset: -2
      5 AlignAfterOpenBracket: Align
      6 AlignConsecutiveMacros: false
      7 AlignConsecutiveAssignments: true
      8 AlignConsecutiveBitFields: false
      9 AlignConsecutiveDeclarations: false
     10 AlignEscapedNewlines: Right
     11 AlignOperands: DontAlign
     12 AlignTrailingComments: false
     13 AllowAllArgumentsOnNextLine: true
     14 AllowAllConstructorInitializersOnNextLine: false
     15 AllowAllParametersOfDeclarationOnNextLine: true
     16 AllowShortEnumsOnASingleLine: false
     17 AllowShortBlocksOnASingleLine: Empty
     18 AllowShortCaseLabelsOnASingleLine: false
     19 AllowShortFunctionsOnASingleLine: Inline
     20 AllowShortLambdasOnASingleLine: All
     21 AllowShortIfStatementsOnASingleLine: AllIfsAndElse
     22 AllowShortLoopsOnASingleLine: true
     23 AlwaysBreakAfterDefinitionReturnType: None
     24 AlwaysBreakAfterReturnType: None
     25 AlwaysBreakBeforeMultilineStrings: true
     26 AlwaysBreakTemplateDeclarations: Yes
     27 BinPackArguments: false
     28 BinPackParameters: false
     29 BraceWrapping:
     30   AfterCaseLabel: false
     31   AfterClass: true
     32   AfterControlStatement: Always
     33   AfterEnum: true
     34   AfterFunction: true
     35   AfterNamespace: false
     36   AfterObjCDeclaration: false
     37   AfterStruct: true
     38   AfterUnion: true
     39   AfterExternBlock: true
     40   BeforeCatch: false
     41   BeforeElse: true
     42   BeforeLambdaBody: true
     43   BeforeWhile: false
     44   IndentBraces: false
     45   SplitEmptyFunction: true
     46   SplitEmptyRecord: true
     47   SplitEmptyNamespace: true
     48 BreakBeforeBinaryOperators: NonAssignment
     49 BreakBeforeBraces: Custom
     50 # BreakBeforeInheritanceComma: true
     51 BreakInheritanceList: BeforeComma
     52 BreakBeforeTernaryOperators: true
     53 BreakConstructorInitializersBeforeComma: true
     54 BreakConstructorInitializers: BeforeComma
     55 BreakAfterJavaFieldAnnotations: true
     56 BreakStringLiterals: true
     57 ColumnLimit: 79
     58 CommentPragmas: '^ IWYU pragma:'
     59 CompactNamespaces: false
     60 ConstructorInitializerAllOnOneLineOrOnePerLine: false
     61 ConstructorInitializerIndentWidth: 4
     62 ContinuationIndentWidth: 4
     63 Cpp11BracedListStyle: true
     64 DeriveLineEnding: false
     65 DerivePointerAlignment: false
     66 DisableFormat: false
     67 ExperimentalAutoDetectBinPacking: false
     68 FixNamespaceComments: true
     69 ForEachMacros:
     70   - foreach
     71   - Q_FOREACH
     72   - BOOST_FOREACH
     73 IncludeBlocks: Regroup
     74 IncludeCategories:
     75   # Standard library headers come before anything else
     76   - Regex: '^<[a-z_]+>'
     77     Priority: -1
     78   - Regex: '^<.+\.h(pp)?>'
     79     Priority: 1
     80   - Regex: '^<.*'
     81     Priority: 2
     82   - Regex: '.*'
     83     Priority: 3
     84 IncludeIsMainRegex: ''
     85 IncludeIsMainSourceRegex: ''
     86 IndentCaseLabels: true
     87 IndentCaseBlocks: false
     88 IndentGotoLabels: true
     89 IndentPPDirectives: AfterHash
     90 IndentExternBlock: NoIndent
     91 IndentWidth: 2
     92 IndentWrappedFunctionNames: false
     93 InsertTrailingCommas: Wrapped
     94 JavaScriptQuotes: Double
     95 JavaScriptWrapImports: true
     96 KeepEmptyLinesAtTheStartOfBlocks: false
     97 MacroBlockBegin: ''
     98 MacroBlockEnd: ''
     99 MaxEmptyLinesToKeep: 1
    100 NamespaceIndentation: None
    101 ObjCBinPackProtocolList: Never
    102 ObjCBlockIndentWidth: 2
    103 ObjCBreakBeforeNestedBlockParam: true
    104 ObjCSpaceAfterProperty: false
    105 ObjCSpaceBeforeProtocolList: true
    106 PenaltyBreakAssignment: 2
    107 PenaltyBreakBeforeFirstCallParameter: 1
    108 PenaltyBreakComment: 300
    109 PenaltyBreakFirstLessLess: 120
    110 PenaltyBreakString: 1000
    111 PenaltyBreakTemplateDeclaration: 10
    112 PenaltyExcessCharacter: 1000000
    113 PenaltyReturnTypeOnItsOwnLine: 200
    114 PointerAlignment: Left
    115 RawStringFormats:
    116   - Language: Cpp
    117     Delimiters:
    118       - cc
    119       - CC
    120       - cpp
    121       - Cpp
    122       - CPP
    123       - 'c++'
    124       - 'C++'
    125     CanonicalDelimiter: ''
    126     BasedOnStyle: google
    127   - Language: TextProto
    128     Delimiters:
    129       - pb
    130       - PB
    131       - proto
    132       - PROTO
    133     EnclosingFunctions:
    134       - EqualsProto
    135       - EquivToProto
    136       - PARSE_PARTIAL_TEXT_PROTO
    137       - PARSE_TEST_PROTO
    138       - PARSE_TEXT_PROTO
    139       - ParseTextOrDie
    140       - ParseTextProtoOrDie
    141       - ParseTestProto
    142       - ParsePartialTestProto
    143     CanonicalDelimiter: ''
    144     BasedOnStyle: google
    145 ReflowComments: true
    146 SortIncludes: true
    147 SortUsingDeclarations: true
    148 SpaceAfterCStyleCast: false
    149 SpaceAfterLogicalNot: false
    150 SpaceAfterTemplateKeyword: false
    151 SpaceBeforeAssignmentOperators: true
    152 SpaceBeforeCpp11BracedList: true
    153 SpaceBeforeCtorInitializerColon: true
    154 SpaceBeforeInheritanceColon: true
    155 SpaceBeforeParens: ControlStatementsExceptForEachMacros
    156 SpaceBeforeRangeBasedForLoopColon: true
    157 SpaceInEmptyBlock: false
    158 SpaceInEmptyParentheses: false
    159 SpacesBeforeTrailingComments: 2
    160 SpacesInAngles: false
    161 SpacesInConditionalStatement: false
    162 SpacesInContainerLiterals: false
    163 SpacesInCStyleCastParentheses: false
    164 SpacesInParentheses: false
    165 SpacesInSquareBrackets: false
    166 SpaceBeforeSquareBrackets: false
    167 Standard: Auto
    168 StatementMacros:
    169   - Q_UNUSED
    170   - QT_REQUIRE_VERSION
    171 TabWidth: 8
    172 UseCRLF: false
    173 UseTab: Never
    174 WhitespaceSensitiveMacros:
    175   - STRINGIZE
    176   - PP_STRINGIZE
    177   - BOOST_PP_STRINGIZE
    178 ...