.clang-format 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. BinPackArguments: false
  16. BinPackParameters: false
  17. BreakBeforeBraces: Custom
  18. BraceWrapping:
  19. AfterClass: true
  20. AfterControlStatement: true
  21. AfterEnum: true
  22. AfterFunction: true
  23. AfterNamespace: true
  24. BeforeLambdaBody: true
  25. AfterStruct: true
  26. BeforeElse: true
  27. SplitEmptyFunction: true
  28. BreakBeforeTernaryOperators: true
  29. BreakConstructorInitializers: BeforeComma
  30. BreakInheritanceList: BeforeComma
  31. ColumnLimit: 140
  32. ConstructorInitializerIndentWidth: 4
  33. ContinuationIndentWidth: 4
  34. Cpp11BracedListStyle: false
  35. FixNamespaceComments: true
  36. IncludeBlocks: Preserve
  37. IndentCaseBlocks: true
  38. IndentCaseLabels: false
  39. IndentPPDirectives: None
  40. IndentWidth: 4
  41. KeepEmptyLinesAtTheStartOfBlocks: false
  42. MaxEmptyLinesToKeep: 1
  43. NamespaceIndentation: All
  44. PenaltyReturnTypeOnItsOwnLine: 1000
  45. PointerAlignment: Left
  46. SortIncludes: true
  47. SpaceAfterLogicalNot: false
  48. SpaceAfterTemplateKeyword: false
  49. SpaceBeforeAssignmentOperators: true
  50. SpaceBeforeCpp11BracedList: false
  51. SpaceBeforeCtorInitializerColon: true
  52. SpaceBeforeInheritanceColon: true
  53. SpaceBeforeParens: ControlStatements
  54. SpaceBeforeRangeBasedForLoopColon: true
  55. SpaceInEmptyParentheses: false
  56. SpacesInAngles: false
  57. SpacesInCStyleCastParentheses: false
  58. SpacesInParentheses: false
  59. Standard: c++17
  60. UseTab: Never