.clang-format 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. BasedOnStyle: Google
  2. Language: Cpp
  3. ColumnLimit: 100
  4. IndentWidth: 2
  5. TabWidth: 8
  6. UseTab: Never
  7. IndentCaseLabels: false
  8. BreakBeforeBraces: Custom
  9. AlignEscapedNewlinesLeft: false
  10. AllowShortFunctionsOnASingleLine: false
  11. AlignTrailingComments: true
  12. SpacesBeforeTrailingComments: 2
  13. PenaltyReturnTypeOnItsOwnLine: 200
  14. AllowAllParametersOfDeclarationOnNextLine: false
  15. AllowShortIfStatementsOnASingleLine: false
  16. AllowShortLoopsOnASingleLine: false
  17. BinPackParameters: false
  18. BreakBeforeBinaryOperators: true
  19. BreakBeforeTernaryOperators: true
  20. ContinuationIndentWidth: 2
  21. AlwaysBreakAfterDefinitionReturnType: None
  22. AlwaysBreakAfterReturnType: None
  23. AlwaysBreakBeforeMultilineStrings: No
  24. AlwaysBreakTemplateDeclarations: No
  25. AlignEscapedNewlines: DontAlign
  26. BinPackArguments: false
  27. BraceWrapping:
  28. AfterClass: false
  29. AfterControlStatement: false
  30. AfterEnum: false
  31. AfterFunction: true
  32. AfterObjCDeclaration: false
  33. AfterStruct: false
  34. AfterUnion: false
  35. BeforeCatch: false
  36. BeforeElse: false
  37. IndentBraces: false
  38. PointerAlignment: Right
  39. SortIncludes: false
  40. Cpp11BracedListStyle: false