You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.clang-format 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Language: Cpp
  2. AccessModifierOffset: -4
  3. AlignAfterOpenBracket: false
  4. AlignEscapedNewlinesLeft: true
  5. AlignTrailingComments: true
  6. AllowAllParametersOfDeclarationOnNextLine: false
  7. AllowShortBlocksOnASingleLine: false
  8. AllowShortFunctionsOnASingleLine: All
  9. AllowShortIfStatementsOnASingleLine: true
  10. AllowShortLoopsOnASingleLine: false
  11. AlwaysBreakBeforeMultilineStrings: false
  12. AlwaysBreakTemplateDeclarations: true
  13. BinPackParameters: false
  14. BreakBeforeBinaryOperators: false
  15. BreakBeforeBraces: Linux
  16. BreakBeforeTernaryOperators: false
  17. BreakConstructorInitializersBeforeComma: false
  18. ColumnLimit: 0
  19. CommentPragmas: '^ IWYU pragma:'
  20. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  21. ConstructorInitializerIndentWidth: 4
  22. ContinuationIndentWidth: 4
  23. Cpp11BracedListStyle: true
  24. DerivePointerAlignment: false
  25. DisableFormat: false
  26. IndentCaseLabels: false
  27. IndentFunctionDeclarationAfterType: false
  28. IndentWidth: 4
  29. KeepEmptyLinesAtTheStartOfBlocks: false
  30. MaxEmptyLinesToKeep: 2
  31. NamespaceIndentation: None
  32. ObjCSpaceAfterProperty: false
  33. ObjCSpaceBeforeProtocolList: false
  34. PenaltyBreakBeforeFirstCallParameter: 1
  35. PenaltyBreakComment: 300
  36. PenaltyBreakFirstLessLess: 120
  37. PenaltyBreakString: 1000
  38. PenaltyExcessCharacter: 1000000
  39. PenaltyReturnTypeOnItsOwnLine: 200
  40. PointerAlignment: Left
  41. SpaceBeforeAssignmentOperators: true
  42. SpaceBeforeParens: ControlStatements
  43. SpaceInEmptyParentheses: false
  44. SpacesBeforeTrailingComments: 1
  45. SpacesInAngles: false
  46. SpacesInContainerLiterals: true
  47. SpacesInCStyleCastParentheses: false
  48. SpacesInParentheses: false
  49. Standard: Cpp11
  50. TabWidth: 8
  51. UseTab: Never