🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
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.

90 lines
2.1 KiB

  1. ---
  2. AlignConsecutiveMacros: Consecutive
  3. AlignConsecutiveAssignments: None
  4. AlignConsecutiveBitFields: None
  5. AlignConsecutiveDeclarations: None
  6. AlignEscapedNewlines: Right
  7. AlignOperands: Align
  8. AlignTrailingComments: true
  9. AllowAllArgumentsOnNextLine: true
  10. AllowAllParametersOfDeclarationOnNextLine: true
  11. AllowShortEnumsOnASingleLine: true
  12. AllowShortBlocksOnASingleLine: Never
  13. AllowShortCaseLabelsOnASingleLine: false
  14. AllowShortFunctionsOnASingleLine: All
  15. AllowShortIfStatementsOnASingleLine: Never
  16. AllowShortLoopsOnASingleLine: false
  17. AlwaysBreakAfterDefinitionReturnType: None
  18. AlwaysBreakAfterReturnType: None
  19. AlwaysBreakBeforeMultilineStrings: false
  20. AlwaysBreakTemplateDeclarations: MultiLine
  21. # Custom brace breaking
  22. BreakBeforeBraces: Custom
  23. BraceWrapping:
  24. AfterCaseLabel: true
  25. AfterClass: true
  26. AfterControlStatement: Never
  27. AfterEnum: true
  28. AfterFunction: true
  29. AfterNamespace: true
  30. AfterObjCDeclaration: true
  31. AfterStruct: true
  32. AfterUnion: true
  33. AfterExternBlock: false
  34. BeforeElse: false
  35. BeforeWhile: false
  36. IndentBraces: false
  37. SplitEmptyFunction: true
  38. SplitEmptyRecord: true
  39. # Make the closing brace of container literals go to a new line
  40. Cpp11BracedListStyle: false
  41. # Never format includes
  42. IncludeBlocks: Preserve
  43. # clang-format version 4.0 through 12.0:
  44. #SortIncludes: false
  45. # clang-format version 13.0+:
  46. #SortIncludes: Never
  47. # No length limit, in case it breaks macros, you can
  48. # disable it with /* clang-format off/on */ comments
  49. ColumnLimit: 0
  50. IndentWidth: 4
  51. ContinuationIndentWidth: 4
  52. IndentCaseLabels: false
  53. IndentCaseBlocks: false
  54. IndentGotoLabels: true
  55. IndentPPDirectives: None
  56. IndentExternBlock: NoIndent
  57. PointerAlignment: Right
  58. SpaceAfterCStyleCast: false
  59. SpacesInCStyleCastParentheses: false
  60. SpacesInConditionalStatement: false
  61. SpacesInContainerLiterals: true
  62. SpaceBeforeAssignmentOperators: true
  63. SpaceBeforeCaseColon: false
  64. SpaceBeforeParens: ControlStatements
  65. SpaceAroundPointerQualifiers: Default
  66. SpaceInEmptyBlock: false
  67. SpaceInEmptyParentheses: false
  68. UseCRLF: false
  69. UseTab: Never
  70. ForEachMacros:
  71. [
  72. "spa_list_for_each",
  73. "spa_list_for_each_safe",
  74. "wl_list_for_each",
  75. "wl_array_for_each",
  76. "udev_list_entry_foreach",
  77. ]
  78. ---