.clang-format 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. AccessModifierOffset: -4
  2. ConstructorInitializerIndentWidth: 4
  3. AlignEscapedNewlinesLeft: false
  4. AlignTrailingComments: false
  5. AllowAllParametersOfDeclarationOnNextLine: true
  6. AllowShortIfStatementsOnASingleLine: false
  7. AllowShortLoopsOnASingleLine: false
  8. AlwaysBreakTemplateDeclarations: false
  9. AlwaysBreakBeforeMultilineStrings: false
  10. BreakBeforeBinaryOperators: true
  11. BreakBeforeTernaryOperators: true
  12. BreakConstructorInitializersBeforeComma: true
  13. BinPackParameters: true
  14. ColumnLimit: 100
  15. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  16. DerivePointerBinding: false
  17. ExperimentalAutoDetectBinPacking: false
  18. IndentCaseLabels: true
  19. KeepEmptyLinesAtTheStartOfBlocks: false
  20. MaxEmptyLinesToKeep: 1
  21. NamespaceIndentation: None
  22. ObjCSpaceBeforeProtocolList: true
  23. PenaltyBreakBeforeFirstCallParameter: 19
  24. PenaltyBreakComment: 60
  25. PenaltyBreakString: 1000
  26. PenaltyBreakFirstLessLess: 120
  27. PenaltyExcessCharacter: 1000000
  28. PenaltyReturnTypeOnItsOwnLine: 60
  29. PointerBindsToType: true
  30. ReflowComments: false
  31. SpacesBeforeTrailingComments: 1
  32. Cpp11BracedListStyle: false
  33. Standard: Cpp11
  34. IndentWidth: 4
  35. TabWidth: 8
  36. UseTab: Never
  37. BreakBeforeBraces: Allman
  38. IndentFunctionDeclarationAfterType: false
  39. SpacesInParentheses: false
  40. SpacesInAngles: false
  41. SpaceInEmptyParentheses: false
  42. SpacesInCStyleCastParentheses: false
  43. SpaceAfterControlStatementKeyword: true
  44. SpaceBeforeAssignmentOperators: true
  45. ContinuationIndentWidth: 4
  46. SortIncludes: false