.clang-format 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. AccessModifierOffset: -4
  2. AllowAllArgumentsOnNextLine: false
  3. AllowAllParametersOfDeclarationOnNextLine: false
  4. AlignAfterOpenBracket: DontAlign
  5. AlignConsecutiveAssignments: false
  6. AlignConsecutiveDeclarations: false
  7. AlignEscapedNewlines: Left
  8. AlignOperands: false
  9. AlignTrailingComments: true
  10. AllowShortBlocksOnASingleLine: Empty
  11. AllowShortCaseLabelsOnASingleLine: false
  12. AllowShortFunctionsOnASingleLine: Inline
  13. AlwaysBreakTemplateDeclarations: Yes
  14. BinPackArguments: true
  15. BinPackParameters: true
  16. BreakBeforeBraces: Custom
  17. BraceWrapping:
  18. AfterCaseLabel: true
  19. AfterControlStatement: true
  20. AfterFunction: true
  21. BeforeElse: true
  22. SplitEmptyFunction: false
  23. SplitEmptyRecord: false
  24. SplitEmptyNamespace: false
  25. BreakConstructorInitializers: AfterColon
  26. ColumnLimit: 150
  27. CompactNamespaces: false
  28. Cpp11BracedListStyle: true
  29. FixNamespaceComments: true
  30. IncludeBlocks: Merge
  31. IncludeCategories:
  32. - Regex: '^<RmlUi/'
  33. Priority: 1
  34. IndentCaseLabels: false
  35. IndentPPDirectives: BeforeHash
  36. IndentWidth: 4
  37. IndentWrappedFunctionNames: false
  38. KeepEmptyLinesAtTheStartOfBlocks: false
  39. Language: Cpp
  40. MaxEmptyLinesToKeep: 1
  41. NamespaceIndentation: Inner
  42. PointerAlignment: Left
  43. ReflowComments: true
  44. SpaceAfterCStyleCast: false
  45. SpaceAfterLogicalNot: false
  46. SpaceAfterTemplateKeyword: true
  47. SpaceBeforeAssignmentOperators: true
  48. SpaceBeforeCpp11BracedList: false
  49. SpaceBeforeCtorInitializerColon: true
  50. SpaceBeforeInheritanceColon: true
  51. SpaceBeforeParens: ControlStatements
  52. SpaceBeforeRangeBasedForLoopColon: true
  53. SpaceInEmptyParentheses: false
  54. SpacesBeforeTrailingComments: 1
  55. SpacesInAngles: false
  56. SpacesInCStyleCastParentheses: false
  57. SpacesInContainerLiterals: false
  58. SpacesInParentheses: false
  59. SpacesInSquareBrackets: false
  60. Standard: Cpp11
  61. StatementMacros:
  62. - RMLUI_RTTI_Define
  63. - RMLUI_RTTI_DefineWithParent
  64. TabWidth: 4
  65. UseTab: AlignWithSpaces