.clang-format 798 B

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