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.

55 lines
1.6 KiB

  1. # minimum clang-format 10
  2. BasedOnStyle: LLVM
  3. AccessModifierOffset: -4
  4. AlignAfterOpenBracket: Align
  5. AlignConsecutiveAssignments: false
  6. AlignConsecutiveDeclarations: true
  7. AlignOperands: true
  8. AlignTrailingComments: true
  9. AllowAllParametersOfDeclarationOnNextLine: false
  10. AllowShortBlocksOnASingleLine: Never
  11. AllowShortCaseLabelsOnASingleLine: true
  12. AllowShortFunctionsOnASingleLine: InlineOnly
  13. AllowShortIfStatementsOnASingleLine: Never
  14. AllowShortLambdasOnASingleLine: None
  15. AllowShortLoopsOnASingleLine: false
  16. AlwaysBreakAfterReturnType: None
  17. AlwaysBreakBeforeMultilineStrings: false
  18. AlwaysBreakTemplateDeclarations: Yes
  19. BinPackArguments: true
  20. BinPackParameters: true
  21. BreakBeforeBinaryOperators: NonAssignment
  22. BreakBeforeBraces: Allman
  23. BreakBeforeTernaryOperators: true
  24. BreakConstructorInitializers: AfterColon
  25. BreakStringLiterals: true
  26. ColumnLimit: 120
  27. ConstructorInitializerIndentWidth: 8
  28. ContinuationIndentWidth: 8
  29. Cpp11BracedListStyle: false
  30. DerivePointerAlignment: false
  31. DisableFormat: false
  32. ForEachMacros: [ BOOST_FOREACH ]
  33. IndentCaseLabels: false
  34. IndentWidth: 4
  35. IndentWrappedFunctionNames: false
  36. KeepEmptyLinesAtTheStartOfBlocks: false
  37. Language: Cpp
  38. MaxEmptyLinesToKeep: 2
  39. NamespaceIndentation: Inner
  40. PackConstructorInitializers: Never
  41. PointerAlignment: Left
  42. ReflowComments: false
  43. SortIncludes: false
  44. SpaceAfterCStyleCast: true
  45. SpaceBeforeAssignmentOperators: true
  46. SpaceBeforeParens: Never
  47. SpaceInEmptyParentheses: false
  48. SpacesBeforeTrailingComments: 1
  49. SpacesInAngles: false
  50. SpacesInCStyleCastParentheses: false
  51. SpacesInParentheses: true
  52. SpacesInSquareBrackets: false
  53. Standard: c++11
  54. TabWidth: 4
  55. UseTab: Never