.clang-format 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. AccessModifierOffset: -4
  2. AlignAfterOpenBracket: Align
  3. AlignConsecutiveAssignments: false
  4. AlignConsecutiveDeclarations: false
  5. AlignEscapedNewlinesLeft: false
  6. AlignOperands: true
  7. AlignTrailingComments: true
  8. AllowAllParametersOfDeclarationOnNextLine: false
  9. AllowShortBlocksOnASingleLine: false
  10. AllowShortCaseLabelsOnASingleLine: false
  11. AllowShortFunctionsOnASingleLine: Inline
  12. AllowShortIfStatementsOnASingleLine: false
  13. AllowShortLoopsOnASingleLine: false
  14. AlwaysBreakAfterDefinitionReturnType: None
  15. AlwaysBreakBeforeMultilineStrings: false
  16. AlwaysBreakTemplateDeclarations: false
  17. BinPackArguments: true
  18. BinPackParameters: false
  19. BraceWrapping:
  20. AfterControlStatement: false
  21. AfterEnum: false
  22. AfterFunction: true
  23. AfterStruct: false
  24. AfterUnion: false
  25. BeforeCatch: false
  26. BeforeElse: false
  27. IndentBraces: false
  28. BreakBeforeBinaryOperators: None
  29. BreakBeforeBraces: Custom
  30. BreakBeforeTernaryOperators: true
  31. ColumnLimit: 80
  32. CommentPragmas: '^ IWYU pragma:'
  33. ContinuationIndentWidth: 4
  34. DerivePointerAlignment: false
  35. DisableFormat: false
  36. ExperimentalAutoDetectBinPacking: false
  37. IndentCaseLabels: false
  38. IndentWidth: 4
  39. IndentWrappedFunctionNames: false
  40. KeepEmptyLinesAtTheStartOfBlocks: false
  41. MaxEmptyLinesToKeep: 1
  42. PenaltyBreakBeforeFirstCallParameter: 16
  43. PenaltyBreakComment: 300
  44. PenaltyBreakFirstLessLess: 120
  45. PenaltyBreakString: 1000
  46. PenaltyExcessCharacter: 1000
  47. PenaltyReturnTypeOnItsOwnLine: 9000
  48. Cpp11BracedListStyle: false
  49. PointerAlignment: Right
  50. ReflowComments: true
  51. SortIncludes: false
  52. SpaceAfterCStyleCast: false
  53. SpaceBeforeAssignmentOperators: true
  54. SpaceBeforeParens: ControlStatements
  55. SpaceInEmptyParentheses: false
  56. SpacesBeforeTrailingComments: 1
  57. SpacesInAngles: false
  58. SpacesInContainerLiterals: true
  59. SpacesInCStyleCastParentheses: false
  60. SpacesInParentheses: false
  61. SpacesInSquareBrackets: false
  62. TabWidth: 4
  63. UseTab: Never