.clang-format 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. BasedOnStyle: LLVM
  2. ContinuationIndentWidth: 8
  3. BasedOnStyle: Google
  4. AccessModifierOffset: -1
  5. AlignEscapedNewlinesLeft: true
  6. AlignTrailingComments: true
  7. AllowAllParametersOfDeclarationOnNextLine: true
  8. AllowShortIfStatementsOnASingleLine: true
  9. AllowShortLoopsOnASingleLine: true
  10. AlwaysBreakBeforeMultilineStrings: false
  11. AlwaysBreakTemplateDeclarations: false
  12. BinPackParameters: true
  13. BreakBeforeBinaryOperators: true
  14. BreakBeforeBraces: Attach
  15. BreakBeforeTernaryOperators: true
  16. BreakConstructorInitializersBeforeComma: true
  17. ColumnLimit: 1000
  18. ConstructorInitializerAllOnOneLineOrOnePerLine: true
  19. ConstructorInitializerIndentWidth: 2
  20. Cpp11BracedListStyle: true
  21. DerivePointerBinding: true
  22. IndentCaseLabels: true
  23. IndentFunctionDeclarationAfterType: true
  24. IndentWidth: 2
  25. MaxEmptyLinesToKeep: 1
  26. NamespaceIndentation: None
  27. PointerBindsToType: true
  28. SpaceAfterControlStatementKeyword: true
  29. SpaceBeforeAssignmentOperators: true
  30. SpaceInEmptyParentheses: false
  31. SpacesBeforeTrailingComments: 2
  32. SpacesInCStyleCastParentheses: false
  33. SpacesInParentheses: false
  34. SpacesInAngles: false
  35. Standard: Cpp11
  36. TabWidth: 2
  37. UseTab: Never