.clang-format 432 B

123456789101112131415161718
  1. ---
  2. Language: Cpp
  3. BasedOnStyle: llvm
  4. IndentWidth: 4
  5. ColumnLimit: 90
  6. SpacesBeforeTrailingComments: 2
  7. ForEachMacros: [ foreach, LIST_FOREACH, LIST_FOREACH_SAFE ]
  8. DisableFormat: false
  9. # No space between if and parentheses
  10. SpaceBeforeParens: Never
  11. # Format function declarations
  12. BinPackParameters: true
  13. AllowAllParametersOfDeclarationOnNextLine: true
  14. AlignAfterOpenBracket: Align
  15. AlwaysBreakAfterReturnType: All