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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ---
  2. # SPDX-License-Identifier: GPL-2.0-or-later
  3. # BasedOnStyle: LLVM
  4. AccessModifierOffset: -2
  5. ConstructorInitializerIndentWidth: 4
  6. AlignEscapedNewlinesLeft: false
  7. AlignTrailingComments: true
  8. AllowAllParametersOfDeclarationOnNextLine: true
  9. AllowShortBlocksOnASingleLine: true
  10. AllowShortIfStatementsOnASingleLine: false
  11. AllowShortLoopsOnASingleLine: false
  12. AllowShortFunctionsOnASingleLine: All
  13. AlwaysBreakTemplateDeclarations: true
  14. AlwaysBreakBeforeMultilineStrings: false
  15. BreakBeforeBinaryOperators: false
  16. BreakBeforeTernaryOperators: true
  17. BreakConstructorInitializersBeforeComma: true
  18. BinPackParameters: true
  19. ColumnLimit: 120
  20. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  21. DerivePointerBinding: false
  22. ExperimentalAutoDetectBinPacking: false
  23. IndentCaseLabels: true
  24. MaxEmptyLinesToKeep: 3
  25. KeepEmptyLinesAtTheStartOfBlocks: true
  26. NamespaceIndentation: None
  27. ObjCSpaceAfterProperty: false
  28. ObjCSpaceBeforeProtocolList: true
  29. PenaltyBreakBeforeFirstCallParameter: 19
  30. PenaltyBreakComment: 60
  31. PenaltyBreakString: 1000
  32. PenaltyBreakFirstLessLess: 120
  33. PenaltyExcessCharacter: 1000000
  34. PenaltyReturnTypeOnItsOwnLine: 60
  35. PointerBindsToType: false
  36. SpacesBeforeTrailingComments: 1
  37. Cpp11BracedListStyle: false
  38. Standard: Cpp11
  39. IndentWidth: 4
  40. TabWidth: 4
  41. UseTab: Never
  42. BreakBeforeBraces: WebKit
  43. IndentFunctionDeclarationAfterType: false
  44. SpacesInParentheses: false
  45. SpacesInAngles: false
  46. SpaceInEmptyParentheses: false
  47. SpacesInCStyleCastParentheses: false
  48. SpacesInContainerLiterals: true
  49. SpaceAfterControlStatementKeyword: true
  50. ContinuationIndentWidth: 4
  51. SpaceBeforeAssignmentOperators: true
  52. ...