You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

212 lines
5.9 KiB

  1. Language: Cpp
  2. AccessModifierOffset: -4
  3. AlignAfterOpenBracket: BlockIndent
  4. AlignArrayOfStructures: None
  5. AlignConsecutiveAssignments:
  6. Enabled: false
  7. AcrossEmptyLines: false
  8. AcrossComments: false
  9. AlignCompound: false
  10. PadOperators: true
  11. AlignConsecutiveBitFields:
  12. Enabled: false
  13. AcrossEmptyLines: false
  14. AcrossComments: false
  15. AlignCompound: false
  16. PadOperators: false
  17. AlignConsecutiveDeclarations:
  18. Enabled: false
  19. AcrossEmptyLines: false
  20. AcrossComments: false
  21. AlignCompound: false
  22. PadOperators: false
  23. AlignConsecutiveMacros:
  24. Enabled: false
  25. AcrossEmptyLines: false
  26. AcrossComments: false
  27. AlignCompound: false
  28. PadOperators: false
  29. AlignEscapedNewlines: Right
  30. AlignOperands: DontAlign
  31. AlignTrailingComments: true
  32. AllowAllArgumentsOnNextLine: false
  33. AllowAllParametersOfDeclarationOnNextLine: false
  34. AllowShortEnumsOnASingleLine: true
  35. AllowShortBlocksOnASingleLine: Empty
  36. AllowShortCaseLabelsOnASingleLine: false
  37. AllowShortFunctionsOnASingleLine: Inline
  38. AllowShortLambdasOnASingleLine: All
  39. AllowShortIfStatementsOnASingleLine: WithoutElse
  40. AllowShortLoopsOnASingleLine: false
  41. AlwaysBreakAfterDefinitionReturnType: None
  42. AlwaysBreakAfterReturnType: None
  43. AlwaysBreakBeforeMultilineStrings: false
  44. AlwaysBreakTemplateDeclarations: Yes
  45. AttributeMacros:
  46. - __capability
  47. BinPackArguments: true
  48. BinPackParameters: true
  49. BraceWrapping:
  50. AfterCaseLabel: false
  51. AfterClass: false
  52. AfterControlStatement: Never
  53. AfterEnum: false
  54. AfterFunction: false
  55. AfterNamespace: false
  56. AfterObjCDeclaration: false
  57. AfterStruct: false
  58. AfterUnion: false
  59. AfterExternBlock: false
  60. BeforeCatch: false
  61. BeforeElse: false
  62. BeforeLambdaBody: false
  63. BeforeWhile: false
  64. IndentBraces: false
  65. SplitEmptyFunction: true
  66. SplitEmptyRecord: true
  67. SplitEmptyNamespace: true
  68. BreakBeforeBinaryOperators: None
  69. BreakBeforeConceptDeclarations: Always
  70. BreakBeforeBraces: Attach
  71. BreakBeforeInheritanceComma: false
  72. BreakInheritanceList: BeforeColon
  73. BreakBeforeTernaryOperators: false
  74. BreakConstructorInitializersBeforeComma: false
  75. BreakConstructorInitializers: BeforeComma
  76. BreakAfterJavaFieldAnnotations: false
  77. BreakArrays: true
  78. BreakStringLiterals: true
  79. ColumnLimit: 120
  80. CommentPragmas: '^ IWYU pragma:'
  81. QualifierAlignment: Leave
  82. CompactNamespaces: false
  83. ConstructorInitializerIndentWidth: 4
  84. ContinuationIndentWidth: 4
  85. Cpp11BracedListStyle: true
  86. DeriveLineEnding: true
  87. DerivePointerAlignment: false
  88. DisableFormat: false
  89. EmptyLineAfterAccessModifier: Never
  90. EmptyLineBeforeAccessModifier: LogicalBlock
  91. ExperimentalAutoDetectBinPacking: false
  92. PackConstructorInitializers: BinPack
  93. BasedOnStyle: ''
  94. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  95. AllowAllConstructorInitializersOnNextLine: true
  96. FixNamespaceComments: true
  97. ForEachMacros:
  98. - foreach
  99. - Q_FOREACH
  100. - BOOST_FOREACH
  101. IfMacros:
  102. - KJ_IF_MAYBE
  103. IncludeBlocks: Preserve
  104. IncludeCategories:
  105. - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
  106. Priority: 2
  107. SortPriority: 0
  108. CaseSensitive: false
  109. - Regex: '^(<|"(gtest|gmock|isl|json)/)'
  110. Priority: 3
  111. SortPriority: 0
  112. CaseSensitive: false
  113. - Regex: '.*'
  114. Priority: 1
  115. SortPriority: 0
  116. CaseSensitive: false
  117. IncludeIsMainRegex: '(Test)?$'
  118. IncludeIsMainSourceRegex: ''
  119. IndentAccessModifiers: false
  120. IndentCaseLabels: true
  121. IndentCaseBlocks: false
  122. IndentGotoLabels: true
  123. IndentPPDirectives: BeforeHash
  124. IndentExternBlock: AfterExternBlock
  125. IndentRequiresClause: true
  126. IndentWidth: 4
  127. IndentWrappedFunctionNames: false
  128. InsertBraces: false
  129. InsertTrailingCommas: None
  130. JavaScriptQuotes: Leave
  131. JavaScriptWrapImports: true
  132. KeepEmptyLinesAtTheStartOfBlocks: true
  133. LambdaBodyIndentation: Signature
  134. MacroBlockBegin: ''
  135. MacroBlockEnd: ''
  136. MaxEmptyLinesToKeep: 2
  137. NamespaceIndentation: All
  138. ObjCBinPackProtocolList: Auto
  139. ObjCBlockIndentWidth: 2
  140. ObjCBreakBeforeNestedBlockParam: true
  141. ObjCSpaceAfterProperty: false
  142. ObjCSpaceBeforeProtocolList: true
  143. PenaltyBreakAssignment: 2
  144. PenaltyBreakBeforeFirstCallParameter: 19
  145. PenaltyBreakComment: 300
  146. PenaltyBreakFirstLessLess: 120
  147. PenaltyBreakOpenParenthesis: 0
  148. PenaltyBreakString: 1000
  149. PenaltyBreakTemplateDeclaration: 10
  150. PenaltyExcessCharacter: 1000000
  151. PenaltyReturnTypeOnItsOwnLine: 60
  152. PenaltyIndentedWhitespace: 0
  153. PointerAlignment: Left
  154. PPIndentWidth: -1
  155. ReferenceAlignment: Pointer
  156. ReflowComments: false
  157. RemoveBracesLLVM: false
  158. RequiresClausePosition: OwnLine
  159. SeparateDefinitionBlocks: Leave
  160. ShortNamespaceLines: 1
  161. SortIncludes: CaseSensitive
  162. SortJavaStaticImport: Before
  163. SortUsingDeclarations: true
  164. SpaceAfterCStyleCast: false
  165. SpaceAfterLogicalNot: false
  166. SpaceAfterTemplateKeyword: false
  167. SpaceBeforeAssignmentOperators: true
  168. SpaceBeforeCaseColon: false
  169. SpaceBeforeCpp11BracedList: false
  170. SpaceBeforeCtorInitializerColon: true
  171. SpaceBeforeInheritanceColon: true
  172. SpaceBeforeParens: Never
  173. SpaceBeforeParensOptions:
  174. AfterControlStatements: false
  175. AfterForeachMacros: false
  176. AfterFunctionDefinitionName: false
  177. AfterFunctionDeclarationName: false
  178. AfterIfMacros: false
  179. AfterOverloadedOperator: false
  180. AfterRequiresInClause: false
  181. AfterRequiresInExpression: false
  182. BeforeNonEmptyParentheses: false
  183. SpaceAroundPointerQualifiers: Default
  184. SpaceBeforeRangeBasedForLoopColon: true
  185. SpaceInEmptyBlock: false
  186. SpaceInEmptyParentheses: false
  187. SpacesBeforeTrailingComments: 0
  188. SpacesInAngles: Never
  189. SpacesInConditionalStatement: false
  190. SpacesInContainerLiterals: false
  191. SpacesInCStyleCastParentheses: false
  192. SpacesInLineCommentPrefix:
  193. Minimum: 1
  194. Maximum: -1
  195. SpacesInParentheses: false
  196. SpacesInSquareBrackets: false
  197. SpaceBeforeSquareBrackets: false
  198. BitFieldColonSpacing: Both
  199. Standard: c++20
  200. StatementAttributeLikeMacros:
  201. - Q_EMIT
  202. StatementMacros:
  203. - Q_UNUSED
  204. - QT_REQUIRE_VERSION
  205. TabWidth: 4
  206. UseCRLF: false
  207. UseTab: Never
  208. WhitespaceSensitiveMacros:
  209. - STRINGIZE
  210. - PP_STRINGIZE
  211. - BOOST_PP_STRINGIZE
  212. - NS_SWIFT_NAME
  213. - CF_SWIFT_NAME