.clang-format 934 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. ---
  2. Language: Cpp
  3. BasedOnStyle: LLVM
  4. Standard: c++20
  5. ColumnLimit: 100
  6. IndentWidth: 4
  7. ContinuationIndentWidth: 4
  8. TabWidth: 4
  9. UseTab: Never
  10. BreakBeforeBraces: Attach
  11. NamespaceIndentation: None
  12. AccessModifierOffset: -4
  13. PointerAlignment: Left
  14. ReferenceAlignment: Pointer
  15. DerivePointerAlignment: false
  16. AllowShortBlocksOnASingleLine: Empty
  17. AllowShortFunctionsOnASingleLine: Empty
  18. AllowShortIfStatementsOnASingleLine: WithoutElse
  19. AllowShortLoopsOnASingleLine: false
  20. BinPackArguments: false
  21. BinPackParameters: false
  22. BreakBeforeBinaryOperators: NonAssignment
  23. BreakStringLiterals: true
  24. ReflowComments: true
  25. SortIncludes: CaseSensitive
  26. IncludeBlocks: Regroup
  27. IncludeCategories:
  28. - Regex: '^<Windows\.h>'
  29. Priority: 1
  30. - Regex: '^<.*>'
  31. Priority: 2
  32. - Regex: '.*'
  33. Priority: 3
  34. SpaceBeforeParens: ControlStatements
  35. SpacesInAngles: Never
  36. SpacesInCStyleCastParentheses: false
  37. SpacesInParentheses: false
  38. SpacesInSquareBrackets: false
  39. ...