.clang-format 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. AccessModifierOffset: 0
  2. #AlignAfterOpenBracket: Align
  3. AlignConsecutiveAssignments: false
  4. #AlignConsecutiveDeclarations: true
  5. AlignEscapedNewlinesLeft: true
  6. AlignOperands: false
  7. AlignTrailingComments: true
  8. AllowAllParametersOfDeclarationOnNextLine: false
  9. AllowShortBlocksOnASingleLine: false
  10. AllowShortCaseLabelsOnASingleLine: false
  11. AllowShortFunctionsOnASingleLine: None
  12. AllowShortIfStatementsOnASingleLine: true
  13. AllowShortLoopsOnASingleLine: false
  14. #AlwaysBreakAfterReturnType: None
  15. AlwaysBreakBeforeMultilineStrings: false
  16. AlwaysBreakTemplateDeclarations: false
  17. BinPackArguments: true
  18. BinPackParameters: true
  19. #BraceWrapping:
  20. BreakBeforeBinaryOperators: NonAssignment
  21. BreakBeforeBraces: Linux
  22. BreakBeforeTernaryOperators: false
  23. #BreakStringLiterals: true
  24. ColumnLimit: 120
  25. CommentPragmas: ''
  26. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  27. ConstructorInitializerIndentWidth: 0
  28. ContinuationIndentWidth: 0
  29. Cpp11BracedListStyle: false
  30. DerivePointerBinding: false
  31. IndentCaseLabels: false
  32. IndentFunctionDeclarationAfterType: false
  33. IndentWidth: 4
  34. Language: Cpp
  35. MaxEmptyLinesToKeep: 2
  36. NamespaceIndentation: None
  37. PenaltyBreakBeforeFirstCallParameter: 100
  38. PenaltyBreakComment: 100
  39. PenaltyBreakFirstLessLess: 0
  40. PenaltyBreakString: 100
  41. PenaltyExcessCharacter: 1
  42. PenaltyReturnTypeOnItsOwnLine: 20
  43. PointerBindsToType: false
  44. SpaceBeforeAssignmentOperators: true
  45. SpaceBeforeParens: Never
  46. SpaceInEmptyParentheses: false
  47. SpacesBeforeTrailingComments: 1
  48. SpacesInAngles: false
  49. SpacesInCStyleCastParentheses: false
  50. SpacesInContainerLiterals: false
  51. SpacesInParentheses: false
  52. Standard: Cpp11
  53. TabWidth: 4
  54. UseTab: Always