.clang-format 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. AlignAfterOpenBracket: AlwaysBreak
  2. AlignConsecutiveAssignments: false
  3. AlignConsecutiveMacros: true
  4. AllowAllArgumentsOnNextLine: false
  5. AllowAllParametersOfDeclarationOnNextLine: false
  6. AllowShortCaseLabelsOnASingleLine: false
  7. AllowShortFunctionsOnASingleLine: None
  8. AllowShortIfStatementsOnASingleLine: Never
  9. BinPackArguments: false
  10. BinPackParameters: false
  11. BreakBeforeBraces: Custom
  12. BraceWrapping:
  13. AfterCaseLabel: true
  14. AfterClass: true
  15. AfterControlStatement: true
  16. AfterEnum: true
  17. AfterFunction: true
  18. AfterNamespace: true
  19. AfterStruct: true
  20. AfterUnion: true
  21. BeforeCatch: true
  22. BeforeElse: true
  23. IndentBraces: false
  24. SplitEmptyFunction: true
  25. SplitEmptyRecord: true
  26. SplitEmptyNamespace: false
  27. AfterExternBlock: false
  28. ColumnLimit: 80
  29. ContinuationIndentWidth: 3
  30. IndentCaseLabels: false
  31. IndentWidth: 3
  32. PenaltyBreakAssignment: 10
  33. PenaltyBreakBeforeFirstCallParameter: 30
  34. PenaltyBreakComment: 10
  35. PenaltyBreakString: 100
  36. PenaltyExcessCharacter: 100
  37. PenaltyReturnTypeOnItsOwnLine: 100000
  38. PointerAlignment: Middle
  39. SortIncludes: false
  40. SpaceBeforeParens: NonEmptyParentheses
  41. UseTab: Never