1
0

.clang-format 475 B

12345678910111213141516
  1. BasedOnStyle: LLVM
  2. IndentWidth: 4
  3. UseTab: Never
  4. AlignConsecutiveDeclarations: true
  5. AlignConsecutiveAssignments: true
  6. BreakBeforeBraces: Stroustrup
  7. ColumnLimit: 120
  8. AllowShortBlocksOnASingleLine: true
  9. AllowShortCaseLabelsOnASingleLine: true
  10. AllowShortFunctionsOnASingleLine: Inline
  11. AllowShortIfStatementsOnASingleLine: true
  12. AllowShortLoopsOnASingleLine: true
  13. SpaceBeforeParens: ControlStatements
  14. SpacesInParentheses: false
  15. SpacesInAngles: false
  16. SpacesBeforeTrailingComments: 1