Guest User

clang-format

a guest
Feb 14th, 2022
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.88 KB | None | 0 0
  1. ---
  2. Language:       Cpp
  3. AccessModifierOffset: -4
  4. AlignAfterOpenBracket: Align
  5. AlignArrayOfStructures: None
  6. AlignConsecutiveMacros: None
  7. AlignConsecutiveAssignments: None
  8. AlignConsecutiveBitFields: None
  9. AlignConsecutiveDeclarations: None
  10. AlignEscapedNewlines: Left
  11. AlignOperands:  Align
  12. AlignTrailingComments: true
  13. AllowAllArgumentsOnNextLine: true
  14. AllowAllConstructorInitializersOnNextLine: true
  15. AllowAllParametersOfDeclarationOnNextLine: true
  16. AllowShortEnumsOnASingleLine: true
  17. AllowShortBlocksOnASingleLine: Never
  18. AllowShortCaseLabelsOnASingleLine: false
  19. AllowShortFunctionsOnASingleLine: Inline
  20. AllowShortLambdasOnASingleLine: All
  21. AllowShortIfStatementsOnASingleLine: WithoutElse
  22. AllowShortLoopsOnASingleLine: true
  23. AlwaysBreakAfterDefinitionReturnType: None
  24. AlwaysBreakAfterReturnType: None
  25. AlwaysBreakBeforeMultilineStrings: true
  26. AlwaysBreakTemplateDeclarations: Yes
  27. AttributeMacros:
  28.  - __capability
  29. BinPackArguments: true
  30. BinPackParameters: true
  31. BraceWrapping:
  32.   AfterCaseLabel: false
  33.   AfterClass:     false
  34.   AfterControlStatement: Never
  35.   AfterEnum:      false
  36.   AfterFunction:  false
  37.   AfterNamespace: false
  38.   AfterObjCDeclaration: false
  39.   AfterStruct:    false
  40.   AfterUnion:     false
  41.   AfterExternBlock: false
  42.   BeforeCatch:    false
  43.   BeforeElse:     false
  44.   BeforeLambdaBody: false
  45.   BeforeWhile:    false
  46.   IndentBraces:   false
  47.   SplitEmptyFunction: true
  48.   SplitEmptyRecord: true
  49.   SplitEmptyNamespace: true
  50. BreakBeforeBinaryOperators: None
  51. BreakBeforeConceptDeclarations: true
  52. BreakBeforeBraces: Custom
  53. BreakBeforeInheritanceComma: false
  54. BreakInheritanceList: AfterColon
  55. BreakBeforeTernaryOperators: true
  56. BreakConstructorInitializersBeforeComma: false
  57. BreakConstructorInitializers: AfterColon
  58. BreakAfterJavaFieldAnnotations: false
  59. BreakStringLiterals: true
  60. ColumnLimit:    80
  61. CommentPragmas: '^ IWYU pragma:'
  62. CompactNamespaces: false
  63. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  64. ConstructorInitializerIndentWidth: 4
  65. ContinuationIndentWidth: 4
  66. Cpp11BracedListStyle: true
  67. DeriveLineEnding: true
  68. DerivePointerAlignment: false
  69. DisableFormat:  false
  70. EmptyLineAfterAccessModifier: Never
  71. EmptyLineBeforeAccessModifier: LogicalBlock
  72. ExperimentalAutoDetectBinPacking: false
  73. FixNamespaceComments: true
  74. ForEachMacros:
  75.  - foreach
  76.   - Q_FOREACH
  77.   - BOOST_FOREACH
  78. IfMacros:
  79.  - KJ_IF_MAYBE
  80. IncludeBlocks:  Preserve
  81. IncludeCategories:
  82.   - Regex:          '^".*"'
  83.     Priority:       1
  84.     SortPriority:   0
  85.     CaseSensitive:  false
  86.   - Regex:          '^<.*/.*>'
  87.     Priority:       8
  88.     SortPriority:   0
  89.     CaseSensitive:  false
  90.   - Regex:          '^<ext/.*\.h>'
  91.     Priority:       9
  92.     SortPriority:   0
  93.     CaseSensitive:  false
  94.   - Regex:          '^<.*\.h>'
  95.     Priority:       7
  96.     SortPriority:   0
  97.     CaseSensitive:  false
  98.   - Regex:          '^<.*'
  99.     Priority:       2
  100.     SortPriority:   0
  101.     CaseSensitive:  false
  102.   - Regex:          '.*'
  103.     Priority:       1
  104.     SortPriority:   0
  105.     CaseSensitive:  false
  106. IncludeIsMainRegex: '([-_](test|unittest))?$'
  107. IncludeIsMainSourceRegex: ''
  108. IndentAccessModifiers: false
  109. IndentCaseLabels: false
  110. IndentCaseBlocks: false
  111. IndentGotoLabels: true
  112. IndentPPDirectives: AfterHash
  113. IndentExternBlock: AfterExternBlock
  114. IndentRequires: false
  115. IndentWidth:    4
  116. IndentWrappedFunctionNames: false
  117. InsertTrailingCommas: None
  118. JavaScriptQuotes: Leave
  119. JavaScriptWrapImports: true
  120. KeepEmptyLinesAtTheStartOfBlocks: false
  121. LambdaBodyIndentation: Signature
  122. MacroBlockBegin: ''
  123. MacroBlockEnd:  ''
  124. MaxEmptyLinesToKeep: 1
  125. NamespaceIndentation: Inner
  126. ObjCBinPackProtocolList: Never
  127. ObjCBlockIndentWidth: 2
  128. ObjCBreakBeforeNestedBlockParam: true
  129. ObjCSpaceAfterProperty: false
  130. ObjCSpaceBeforeProtocolList: true
  131. PenaltyBreakAssignment: 2
  132. PenaltyBreakBeforeFirstCallParameter: 1
  133. PenaltyBreakComment: 300
  134. PenaltyBreakFirstLessLess: 120
  135. PenaltyBreakString: 1000
  136. PenaltyBreakTemplateDeclaration: 10
  137. PenaltyExcessCharacter: 1000000
  138. PenaltyReturnTypeOnItsOwnLine: 200
  139. PenaltyIndentedWhitespace: 0
  140. PointerAlignment: Left
  141. PPIndentWidth:  -1
  142. RawStringFormats:
  143.   - Language:       Cpp
  144.     Delimiters:
  145.      - cc
  146.       - CC
  147.       - cpp
  148.       - Cpp
  149.       - CPP
  150.       - 'c++'
  151.       - 'C++'
  152.     CanonicalDelimiter: ''
  153.     BasedOnStyle:   google
  154.   - Language:       TextProto
  155.     Delimiters:
  156.      - pb
  157.       - PB
  158.       - proto
  159.       - PROTO
  160.     EnclosingFunctions:
  161.      - EqualsProto
  162.       - EquivToProto
  163.       - PARSE_PARTIAL_TEXT_PROTO
  164.       - PARSE_TEST_PROTO
  165.       - PARSE_TEXT_PROTO
  166.       - ParseTextOrDie
  167.       - ParseTextProtoOrDie
  168.     CanonicalDelimiter: ''
  169.     BasedOnStyle:   google
  170. ReferenceAlignment: Pointer
  171. ReflowComments: true
  172. ShortNamespaceLines: 1
  173. SortIncludes:   CaseSensitive
  174. SortJavaStaticImport: Before
  175. SortUsingDeclarations: true
  176. SpaceAfterCStyleCast: false
  177. SpaceAfterLogicalNot: false
  178. SpaceAfterTemplateKeyword: false
  179. SpaceBeforeAssignmentOperators: true
  180. SpaceBeforeCaseColon: false
  181. SpaceBeforeCpp11BracedList: false
  182. SpaceBeforeCtorInitializerColon: true
  183. SpaceBeforeInheritanceColon: true
  184. SpaceBeforeParens: Never
  185. SpaceAroundPointerQualifiers: Default
  186. SpaceBeforeRangeBasedForLoopColon: true
  187. SpaceInEmptyBlock: false
  188. SpaceInEmptyParentheses: false
  189. SpacesBeforeTrailingComments: 1
  190. SpacesInAngles: Never
  191. SpacesInConditionalStatement: false
  192. SpacesInContainerLiterals: false
  193. SpacesInCStyleCastParentheses: false
  194. SpacesInLineCommentPrefix:
  195.   Minimum:        1
  196.   Maximum:        -1
  197. SpacesInParentheses: false
  198. SpacesInSquareBrackets: false
  199. SpaceBeforeSquareBrackets: false
  200. BitFieldColonSpacing: Both
  201. Standard:       Latest
  202. StatementAttributeLikeMacros:
  203.  - Q_EMIT
  204. StatementMacros:
  205.  - Q_UNUSED
  206.   - QT_REQUIRE_VERSION
  207. TabWidth:       8
  208. UseCRLF:        false
  209. UseTab:         Never
  210. WhitespaceSensitiveMacros:
  211.  - STRINGIZE
  212.   - PP_STRINGIZE
  213.   - BOOST_PP_STRINGIZE
  214.   - NS_SWIFT_NAME
  215.   - CF_SWIFT_NAME
  216. ...
  217.  
  218.  
Advertisement
Add Comment
Please, Sign In to add comment