.clang-format 881 B

12345678910111213141516171819202122232425262728293031323334353637
  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. ReflowComments: true
  24. SpaceBeforeParens: ControlStatements
  25. SpaceInEmptyParentheses: false
  26. SpacesInSquareBrackets: false
  27. IndentPPDirectives: None
  28. IncludeBlocks: Preserve
  29. DisableFormat: false