.clang-format 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ---
  2. AccessModifierOffset: -2
  3. ConstructorInitializerIndentWidth: 4
  4. AlignEscapedNewlinesLeft: false
  5. AlignTrailingComments: true
  6. AllowAllParametersOfDeclarationOnNextLine: true
  7. AllowShortIfStatementsOnASingleLine: false
  8. AllowShortLoopsOnASingleLine: false
  9. AlwaysBreakTemplateDeclarations: false
  10. AlwaysBreakBeforeMultilineStrings: false
  11. BreakBeforeBinaryOperators: false
  12. BreakBeforeTernaryOperators: true
  13. BreakConstructorInitializersBeforeComma: false
  14. BinPackParameters: true
  15. ColumnLimit: 80
  16. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  17. DerivePointerBinding: false
  18. ExperimentalAutoDetectBinPacking: false
  19. IndentCaseLabels: 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: false
  30. SpacesBeforeTrailingComments: 1
  31. Cpp11BracedListStyle: false
  32. Standard: Cpp11
  33. IndentWidth: 8
  34. TabWidth: 8
  35. UseTab: ForIndentation
  36. BreakBeforeBraces: Allman
  37. IndentFunctionDeclarationAfterType: false
  38. SpacesInParentheses: false
  39. SpacesInAngles: false
  40. SpaceInEmptyParentheses: false
  41. SpacesInCStyleCastParentheses: false
  42. SpaceAfterControlStatementKeyword: true
  43. SpaceBeforeAssignmentOperators: true
  44. ContinuationIndentWidth: 4
  45. ...