2
0

.clang-format 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Language: Cpp
  2. AccessModifierOffset: -4
  3. AlignAfterOpenBracket: AlwaysBreak
  4. AlignConsecutiveAssignments: false
  5. AlignConsecutiveDeclarations: false
  6. AlignEscapedNewlines: Right
  7. AlignOperands: false
  8. AlignTrailingComments: false
  9. AllowAllArgumentsOnNextLine: true
  10. AllowAllParametersOfDeclarationOnNextLine: true
  11. AllowShortFunctionsOnASingleLine: None
  12. AllowShortLambdasOnASingleLine: None
  13. AlwaysBreakAfterReturnType: None
  14. AlwaysBreakTemplateDeclarations: true
  15. BinPackParameters: false
  16. BreakBeforeBraces: Custom
  17. BraceWrapping:
  18. AfterClass: true
  19. AfterControlStatement: true
  20. AfterEnum: true
  21. AfterFunction: true
  22. AfterNamespace: true
  23. BeforeLambdaBody: true
  24. AfterStruct: true
  25. BeforeElse: true
  26. SplitEmptyFunction: true
  27. BreakBeforeTernaryOperators: true
  28. BreakConstructorInitializers: BeforeComma
  29. BreakInheritanceList: BeforeComma
  30. ColumnLimit: 140
  31. ConstructorInitializerIndentWidth: 4
  32. ContinuationIndentWidth: 4
  33. Cpp11BracedListStyle: false
  34. FixNamespaceComments: true
  35. IncludeBlocks: Preserve
  36. IndentCaseBlocks: true
  37. IndentCaseLabels: false
  38. IndentPPDirectives: None
  39. IndentWidth: 4
  40. KeepEmptyLinesAtTheStartOfBlocks: false
  41. MaxEmptyLinesToKeep: 1
  42. NamespaceIndentation: All
  43. PenaltyReturnTypeOnItsOwnLine: 1000
  44. PointerAlignment: Left
  45. SortIncludes: true
  46. SpaceAfterLogicalNot: false
  47. SpaceAfterTemplateKeyword: false
  48. SpaceBeforeAssignmentOperators: true
  49. SpaceBeforeCpp11BracedList: false
  50. SpaceBeforeCtorInitializerColon: true
  51. SpaceBeforeInheritanceColon: true
  52. SpaceBeforeParens: ControlStatements
  53. SpaceBeforeRangeBasedForLoopColon: true
  54. SpaceInEmptyParentheses: false
  55. SpacesInAngles: false
  56. SpacesInCStyleCastParentheses: false
  57. SpacesInParentheses: false
  58. Standard: c++17
  59. UseTab: Never