Advertisement
Guest User

clang format

a guest
Jan 5th, 2025
4
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.30 KB | None | 0 0
  1. ---
  2. Language: Cpp
  3. AccessModifierOffset: -4
  4. AlignAfterOpenBracket: BlockIndent
  5. AlignArrayOfStructures: None
  6. AlignConsecutiveMacros: None
  7. AlignConsecutiveShortCaseStatements:
  8. Enabled: false
  9. AlignConsecutiveAssignments: None
  10. AlignConsecutiveBitFields: None
  11. AlignConsecutiveDeclarations: None
  12. AlignEscapedNewlines: Left
  13. AlignOperands: DontAlign
  14. AlignTrailingComments:
  15. Kind: Never
  16. AllowAllArgumentsOnNextLine: true
  17. AllowAllParametersOfDeclarationOnNextLine: true
  18. AllowShortEnumsOnASingleLine: true
  19. AllowShortBlocksOnASingleLine: Never
  20. AllowShortCaseLabelsOnASingleLine: false
  21. AllowShortFunctionsOnASingleLine: Empty
  22. AllowShortLambdasOnASingleLine: All
  23. AllowShortIfStatementsOnASingleLine: Never
  24. AllowShortLoopsOnASingleLine: false
  25. AlwaysBreakAfterDefinitionReturnType: None
  26. AlwaysBreakAfterReturnType: None
  27. AlwaysBreakBeforeMultilineStrings: false
  28. AlwaysBreakTemplateDeclarations: Yes
  29. AttributeMacros:
  30. - __capability
  31. BinPackArguments: false
  32. BinPackParameters: false
  33. BreakBeforeBraces: Custom
  34. BraceWrapping:
  35. AfterCaseLabel: false
  36. AfterClass: false
  37. AfterControlStatement: MultiLine
  38. AfterEnum: false
  39. AfterFunction: false
  40. AfterNamespace: false
  41. AfterObjCDeclaration: false
  42. AfterStruct: false
  43. AfterUnion: false
  44. AfterExternBlock: false
  45. BeforeCatch: true
  46. BeforeElse: true
  47. BeforeLambdaBody: false
  48. BeforeWhile: false
  49. IndentBraces: false
  50. SplitEmptyFunction: false
  51. SplitEmptyRecord: false
  52. SplitEmptyNamespace: true
  53. BracedInitializerIndentWidth: 4
  54. BreakAfterAttributes: Never
  55. BreakArrays: false
  56. BreakBeforeBinaryOperators: None
  57. BreakBeforeConceptDeclarations: true
  58. BreakBeforeInlineASMColon: OnlyMultiline
  59. BreakBeforeInheritanceComma: false
  60. BreakInheritanceList: BeforeComma
  61. BreakBeforeTernaryOperators: true
  62. BreakConstructorInitializersBeforeComma: false
  63. BreakConstructorInitializers: BeforeComma
  64. BreakStringLiterals: true
  65. ColumnLimit: 120
  66. CommentPragmas: '^ IWYU pragma:'
  67. CompactNamespaces: false
  68. ConstructorInitializerIndentWidth: 0
  69. ContinuationIndentWidth: 4
  70. Cpp11BracedListStyle: true
  71. DeriveLineEnding: false
  72. DerivePointerAlignment: false
  73. DisableFormat: false
  74. EmptyLineAfterAccessModifier: Never
  75. EmptyLineBeforeAccessModifier: LogicalBlock
  76. ExperimentalAutoDetectBinPacking: false
  77. FixNamespaceComments: true
  78. ForEachMacros:
  79. - foreach
  80. - Q_FOREACH
  81. - BOOST_FOREACH
  82. IfMacros:
  83. - KJ_IF_MAYBE
  84. IncludeBlocks: Regroup
  85. IncludeCategories:
  86. - Regex: '^"'
  87. Priority: 0
  88. SortPriority: 0
  89. CaseSensitive: false
  90. - Regex: '.*'
  91. Priority: 1
  92. SortPriority: 1
  93. CaseSensitive: false
  94. IncludeIsMainRegex: '(Test)?$'
  95. IncludeIsMainSourceRegex: ''
  96. IndentAccessModifiers: false
  97. IndentCaseLabels: false
  98. IndentCaseBlocks: false
  99. IndentGotoLabels: true
  100. IndentPPDirectives: None
  101. IndentExternBlock: NoIndent
  102. IndentRequires: true
  103. IndentWidth: 4
  104. IndentRequiresClause: true
  105. IndentWrappedFunctionNames: false
  106. InsertNewlineAtEOF: true
  107. InsertTrailingCommas: Wrapped
  108. IntegerLiteralSeparator:
  109. Binary: 0
  110. Decimal: 3
  111. DecimalMinDigits: 6
  112. Hex: -1
  113. InsertBraces: true
  114. KeepEmptyLinesAtEOF: false
  115. KeepEmptyLinesAtTheStartOfBlocks: true
  116. LambdaBodyIndentation: Signature
  117. LineEnding: LF
  118. MacroBlockBegin: ''
  119. MacroBlockEnd: ''
  120. MaxEmptyLinesToKeep: 1
  121. NamespaceIndentation: None
  122. PointerAlignment: Right
  123. QualifierAlignment: Custom
  124. QualifierOrder: ['static', 'constexpr', 'inline', 'volatile', 'restrict', 'const', 'type']
  125. PPIndentWidth: 4
  126. PackConstructorInitializers: CurrentLine
  127. ReferenceAlignment: Pointer
  128. ReflowComments: true
  129. RemoveBracesLLVM: false
  130. RemoveParentheses: Leave
  131. RemoveSemicolon: true
  132. RequiresClausePosition: OwnLine
  133. RequiresExpressionIndentation: OuterScope
  134. SeparateDefinitionBlocks: Always
  135. ShortNamespaceLines: 0
  136. SortIncludes: CaseSensitive
  137. SortUsingDeclarations: true
  138. SpaceAfterCStyleCast: true
  139. SpaceAfterLogicalNot: false
  140. SpaceAfterTemplateKeyword: true
  141. SpaceBeforeAssignmentOperators: true
  142. SpaceBeforeCaseColon: false
  143. SpaceBeforeCpp11BracedList: false
  144. SpaceBeforeCtorInitializerColon: true
  145. SpaceBeforeInheritanceColon: true
  146. SpaceBeforeParens: Custom
  147. SpaceBeforeParensOptions:
  148. AfterControlStatements: true
  149. AfterForeachMacros: false
  150. AfterFunctionDeclarationName: false
  151. AfterFunctionDefinitionName: false
  152. AfterIfMacros: false
  153. AfterOverloadedOperator: false
  154. AfterRequiresInClause: false
  155. AfterRequiresInExpression: false
  156. BeforeNonEmptyParentheses: false
  157. SpaceAroundPointerQualifiers: Default
  158. SpaceBeforeRangeBasedForLoopColon: true
  159. SpaceInEmptyBlock: false
  160. SpaceInEmptyParentheses: false
  161. SpacesBeforeTrailingComments: 1
  162. SpacesInAngles: Never
  163. SpacesInConditionalStatement: false
  164. SpacesInContainerLiterals: true
  165. SpacesInCStyleCastParentheses: false
  166. SpacesInLineCommentPrefix:
  167. Minimum: 1
  168. Maximum: -1
  169. SpacesInParens: Never
  170. SpacesInParentheses: false
  171. SpacesInSquareBrackets: false
  172. SpaceBeforeSquareBrackets: false
  173. BitFieldColonSpacing: Both
  174. Standard: Latest
  175. StatementAttributeLikeMacros:
  176. - Q_EMIT
  177. StatementMacros:
  178. - Q_UNUSED
  179. - QT_REQUIRE_VERSION
  180. TabWidth: 4
  181. UseCRLF: false
  182. UseTab: Never
  183. WhitespaceSensitiveMacros:
  184. - VALIDATE
  185. - STRINGIZE
  186. - STRINGIZE2
  187. - ENUM_WITH_STRING_CONVERSIONS
  188. - NS_SWIFT_NAME
  189. - CF_SWIFT_NAME
  190. ...
  191.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement