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.

57 lines
1.7 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. AllowAllConstructorInitializersOnNextLine: false
  10. AllowAllParametersOfDeclarationOnNextLine: false
  11. AllowShortBlocksOnASingleLine: Never
  12. AllowShortCaseLabelsOnASingleLine: true
  13. AllowShortFunctionsOnASingleLine: InlineOnly
  14. AllowShortIfStatementsOnASingleLine: Never
  15. AllowShortLambdasOnASingleLine: None
  16. AllowShortLoopsOnASingleLine: false
  17. AlwaysBreakAfterReturnType: None
  18. AlwaysBreakBeforeMultilineStrings: false
  19. AlwaysBreakTemplateDeclarations: Yes
  20. BinPackArguments: true
  21. BinPackParameters: true
  22. BreakBeforeBinaryOperators: NonAssignment
  23. BreakBeforeBraces: Allman
  24. BreakBeforeTernaryOperators: true
  25. BreakConstructorInitializers: AfterColon
  26. BreakConstructorInitializersBeforeComma: false
  27. BreakStringLiterals: true
  28. ColumnLimit: 100
  29. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  30. ConstructorInitializerIndentWidth: 8
  31. ContinuationIndentWidth: 8
  32. Cpp11BracedListStyle: false
  33. DerivePointerAlignment: false
  34. DisableFormat: false
  35. ForEachMacros: [ BOOST_FOREACH ]
  36. IndentCaseLabels: false
  37. IndentWidth: 4
  38. IndentWrappedFunctionNames: false
  39. KeepEmptyLinesAtTheStartOfBlocks: false
  40. Language: Cpp
  41. MaxEmptyLinesToKeep: 2
  42. NamespaceIndentation: Inner
  43. PointerAlignment: Left
  44. ReflowComments: false
  45. SortIncludes: false
  46. SpaceAfterCStyleCast: true
  47. SpaceBeforeAssignmentOperators: true
  48. SpaceBeforeParens: Never
  49. SpaceInEmptyParentheses: false
  50. SpacesBeforeTrailingComments: 1
  51. SpacesInAngles: false
  52. SpacesInCStyleCastParentheses: false
  53. SpacesInParentheses: true
  54. SpacesInSquareBrackets: false
  55. Standard: c++11
  56. TabWidth: 4
  57. UseTab: Never