.clang-format 944 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ---
  2. Language: Cpp
  3. BasedOnStyle: LLVM
  4. UseTab: Never
  5. #AlignConsecutiveMacros: true
  6. AlignTrailingComments: true
  7. IndentWidth: 4
  8. TabWidth: 4
  9. AllowShortIfStatementsOnASingleLine: false
  10. IndentCaseLabels: false
  11. ColumnLimit: 0
  12. AccessModifierOffset: -4
  13. BreakBeforeBraces: Custom
  14. IncludeCategories:
  15. - Regex: '^<'
  16. Priority: 1
  17. - Regex: '.*'
  18. Priority: 50
  19. - Regex: '^"'
  20. Priority: 99
  21. IncludeIsMainRegex: "^$"
  22. IndentCaseLabels: true
  23. SpaceBeforeParens: Never
  24. BraceWrapping:
  25. # AfterCaseLabel: true
  26. AfterClass: true
  27. AfterControlStatement: true
  28. AfterEnum: true
  29. AfterFunction: true
  30. AfterNamespace: true
  31. AfterObjCDeclaration: true
  32. AfterStruct: true
  33. AfterUnion: true
  34. AfterExternBlock: false
  35. BeforeCatch: false
  36. BeforeElse: false
  37. IndentBraces: false
  38. SplitEmptyFunction: true
  39. SplitEmptyRecord: true
  40. SplitEmptyNamespace: true
  41. ...