.clang-format 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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:
  10. Kind: Always
  11. OverEmptyLines: 1
  12. AllowShortBlocksOnASingleLine: Empty
  13. AllowShortCaseLabelsOnASingleLine: true
  14. AllowShortFunctionsOnASingleLine: Inline
  15. AlwaysBreakTemplateDeclarations: Yes
  16. BinPackArguments: true
  17. BinPackParameters: true
  18. BreakBeforeBraces: Custom
  19. BraceWrapping:
  20. AfterCaseLabel: true
  21. AfterControlStatement: true
  22. AfterFunction: true
  23. BeforeElse: true
  24. SplitEmptyFunction: false
  25. SplitEmptyRecord: false
  26. SplitEmptyNamespace: false
  27. BreakConstructorInitializers: AfterColon
  28. ColumnLimit: 150
  29. CompactNamespaces: false
  30. Cpp11BracedListStyle: true
  31. FixNamespaceComments: true
  32. IncludeBlocks: Merge
  33. IncludeCategories:
  34. - Regex: '^<RmlUi/'
  35. Priority: 1
  36. IndentCaseLabels: false
  37. IndentPPDirectives: BeforeHash
  38. IndentWidth: 4
  39. IndentWrappedFunctionNames: false
  40. KeepEmptyLinesAtTheStartOfBlocks: false
  41. Language: Cpp
  42. MaxEmptyLinesToKeep: 1
  43. NamespaceIndentation: Inner
  44. PointerAlignment: Left
  45. QualifierAlignment: Left
  46. ReflowComments: true
  47. SpaceAfterCStyleCast: false
  48. SpaceAfterLogicalNot: false
  49. SpaceAfterTemplateKeyword: true
  50. SpaceBeforeAssignmentOperators: true
  51. SpaceBeforeCpp11BracedList: false
  52. SpaceBeforeCtorInitializerColon: true
  53. SpaceBeforeInheritanceColon: true
  54. SpaceBeforeParens: ControlStatements
  55. SpaceBeforeRangeBasedForLoopColon: true
  56. SpaceInEmptyParentheses: false
  57. SpacesBeforeTrailingComments: 1
  58. SpacesInAngles: false
  59. SpacesInCStyleCastParentheses: false
  60. SpacesInContainerLiterals: false
  61. SpacesInParentheses: false
  62. SpacesInSquareBrackets: false
  63. Standard: Cpp11
  64. StatementMacros:
  65. - RMLUI_RTTI_Define
  66. - RMLUI_RTTI_DefineWithParent
  67. TabWidth: 4
  68. UseTab: AlignWithSpaces
  69. WhitespaceSensitiveMacros: ['RMLUI_STRINGIFY']