.clang-format 786 B

123456789101112131415161718192021222324252627282930
  1. # Linux kernel style for C
  2. BasedOnStyle: LLVM
  3. IndentWidth: 8
  4. UseTab: Always
  5. BreakBeforeBraces: Linux
  6. AlwaysBreakBeforeMultilineStrings: true
  7. AllowShortIfStatementsOnASingleLine: false
  8. AllowShortLoopsOnASingleLine: false
  9. AllowShortFunctionsOnASingleLine: false
  10. IndentCaseLabels: false
  11. AlignEscapedNewlinesLeft: false
  12. AlignTrailingComments: true
  13. AllowAllParametersOfDeclarationOnNextLine: false
  14. AlignAfterOpenBracket: true
  15. SpaceAfterCStyleCast: false
  16. MaxEmptyLinesToKeep: 2
  17. BreakBeforeBinaryOperators: NonAssignment
  18. BreakStringLiterals: false
  19. SortIncludes: false
  20. ContinuationIndentWidth: 8
  21. ColumnLimit: 80
  22. ForEachMacros:
  23. - foreach
  24. - Q_FOREACH
  25. - BOOST_FOREACH
  26. - list_for_each_entry
  27. - list_for_each_entry_safe
  28. - hlist_for_each_entry
  29. - rb_list_foreach
  30. - rb_list_foreach_safe