.clang-format 809 B

1234567891011121314151617181920212223242526272829303132
  1. # http://clang.llvm.org/docs/ClangFormatStyleOptions.html
  2. BasedOnStyle: LLVM
  3. IndentWidth: 4
  4. TabWidth: 4
  5. UseTab: ForIndentation
  6. ColumnLimit: 80
  7. Language: Cpp
  8. AlignAfterOpenBracket: true
  9. AllowAllParametersOfDeclarationOnNextLine: false
  10. AllowShortBlocksOnASingleLine: false
  11. AllowShortCaseLabelsOnASingleLine: false
  12. AllowShortFunctionsOnASingleLine: None
  13. AllowShortIfStatementsOnASingleLine: false
  14. AllowShortLoopsOnASingleLine: false
  15. AlwaysBreakAfterDefinitionReturnType: true
  16. BinPackArguments: false
  17. BinPackParameters: false
  18. BreakBeforeBinaryOperators: NonAssignment
  19. BreakBeforeBraces: Linux
  20. DerivePointerAlignment: false
  21. MaxEmptyLinesToKeep: 2
  22. PenaltyBreakBeforeFirstCallParameter: 100
  23. SpaceBeforeParens: ControlStatements
  24. SpaceInEmptyParentheses: false
  25. SpacesInSquareBrackets: false
  26. DisableFormat: false