.clang-format 796 B

123456789101112131415161718192021222324252627282930
  1. Language: Cpp
  2. Standard: Cpp11
  3. BasedOnStyle: llvm
  4. AlignAfterOpenBracket: DontAlign
  5. PenaltyBreakBeforeFirstCallParameter: 200
  6. IndentWidth: 2
  7. AllowShortFunctionsOnASingleLine: All
  8. KeepEmptyLinesAtTheStartOfBlocks: false
  9. #BreakBeforeBraces: Linux
  10. BreakBeforeBraces: Custom
  11. BraceWrapping:
  12. AfterEnum: false
  13. AfterFunction: true
  14. AfterNamespace: true
  15. AfterStruct: true
  16. AfterClass: true
  17. AfterUnion: true
  18. SplitEmptyFunction: false
  19. SplitEmptyRecord: false
  20. ColumnLimit: 80
  21. ContinuationIndentWidth: 4
  22. PointerAlignment: Right
  23. AlwaysBreakAfterReturnType: TopLevelDefinitions
  24. #BreakInheritanceList: AfterColon
  25. FixNamespaceComments: true
  26. IndentCaseLabels: true
  27. AlwaysBreakTemplateDeclarations: true
  28. SpaceAfterTemplateKeyword: false
  29. #SpaceBeforeCpp11BracedList: true
  30. AlignEscapedNewlines: DontAlign