2
0

.clang-format 808 B

123456789101112131415161718192021222324252627282930313233
  1. BasedOnStyle: LLVM
  2. IndentWidth: 4
  3. UseTab: Always
  4. TabWidth: 4
  5. BreakBeforeBraces: Custom
  6. Standard: Cpp11
  7. BraceWrapping:
  8. AfterClass: true
  9. AfterControlStatement: false
  10. AfterEnum: true
  11. AfterFunction: true
  12. AfterNamespace: true
  13. AfterStruct: true
  14. AfterUnion: true
  15. BeforeCatch: false
  16. BeforeElse: false
  17. FixNamespaceComments: false
  18. AllowShortIfStatementsOnASingleLine: false
  19. IndentCaseLabels: false
  20. AccessModifierOffset: -4
  21. ColumnLimit: 90
  22. AllowShortFunctionsOnASingleLine: InlineOnly
  23. SortIncludes: false
  24. IncludeCategories:
  25. - Regex: '^".*'
  26. Priority: 2
  27. - Regex: '^<.*'
  28. Priority: 1
  29. AlignAfterOpenBracket: DontAlign
  30. ContinuationIndentWidth: 8
  31. ConstructorInitializerIndentWidth: 8
  32. BreakConstructorInitializers: AfterColon
  33. AlwaysBreakTemplateDeclarations: Yes