.clang-format 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. AccessModifierOffset: -2
  2. AlignEscapedNewlinesLeft: true
  3. AlignTrailingComments: true
  4. AllowAllParametersOfDeclarationOnNextLine: false
  5. AllowShortFunctionsOnASingleLine: false
  6. AllowShortIfStatementsOnASingleLine: false
  7. AllowShortLoopsOnASingleLine: false
  8. AlwaysBreakBeforeMultilineStrings: false
  9. AlwaysBreakTemplateDeclarations: false
  10. BinPackParameters: false
  11. BreakBeforeBinaryOperators: false
  12. BreakBeforeBraces: Custom
  13. BraceWrapping:
  14. AfterClass: false
  15. AfterControlStatement: false
  16. AfterEnum: false
  17. AfterFunction: false
  18. AfterNamespace: false
  19. AfterStruct: false
  20. AfterUnion: false
  21. BeforeCatch: false
  22. BeforeElse: false
  23. BreakBeforeTernaryOperators: false
  24. BreakConstructorInitializersBeforeComma: true
  25. Cpp11BracedListStyle: true
  26. ColumnLimit: 120
  27. CommentPragmas: ''
  28. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  29. ConstructorInitializerIndentWidth: 4
  30. ContinuationIndentWidth: 0
  31. IndentCaseLabels: false
  32. IndentFunctionDeclarationAfterType: false
  33. IndentWidth: 4
  34. Language: Cpp
  35. MaxEmptyLinesToKeep: 2
  36. NamespaceIndentation: None
  37. Standard: Cpp11
  38. TabWidth: 4
  39. UseTab: Never