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.

111 lines
3.1 KiB

  1. ---
  2. Language: Cpp
  3. AccessModifierOffset: -2
  4. AlignAfterOpenBracket: Align
  5. AlignConsecutiveAssignments: false
  6. AlignConsecutiveDeclarations: false
  7. AlignEscapedNewlines: Right
  8. AlignOperands: true
  9. AlignTrailingComments: true
  10. AllowAllParametersOfDeclarationOnNextLine: true
  11. AllowShortBlocksOnASingleLine: false
  12. AllowShortCaseLabelsOnASingleLine: false
  13. AllowShortFunctionsOnASingleLine: All
  14. AllowShortLoopsOnASingleLine: false
  15. AlwaysBreakAfterDefinitionReturnType: None
  16. AlwaysBreakAfterReturnType: None
  17. AlwaysBreakBeforeMultilineStrings: false
  18. AlwaysBreakTemplateDeclarations: MultiLine
  19. BinPackArguments: true
  20. BinPackParameters: true
  21. BraceWrapping:
  22. AfterClass: true
  23. AfterControlStatement: true
  24. AfterEnum: true
  25. AfterFunction: true
  26. AfterNamespace: true
  27. AfterStruct: true
  28. AfterUnion: true
  29. AfterExternBlock: true
  30. BeforeCatch: true
  31. BeforeElse: true
  32. IndentBraces: false
  33. SplitEmptyFunction: true
  34. SplitEmptyRecord: true
  35. SplitEmptyNamespace: true
  36. BreakBeforeBinaryOperators: None
  37. BreakBeforeBraces: Custom
  38. BreakBeforeInheritanceComma: false
  39. BreakInheritanceList: BeforeColon
  40. BreakBeforeTernaryOperators: true
  41. BreakConstructorInitializersBeforeComma: false
  42. BreakConstructorInitializers: BeforeColon
  43. BreakStringLiterals: true
  44. ColumnLimit: 79
  45. CommentPragmas: '^ IWYU pragma:'
  46. CompactNamespaces: false
  47. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  48. ConstructorInitializerIndentWidth: 4
  49. ContinuationIndentWidth: 4
  50. Cpp11BracedListStyle: true
  51. DerivePointerAlignment: false
  52. DisableFormat: false
  53. ExperimentalAutoDetectBinPacking: false
  54. FixNamespaceComments: true
  55. ForEachMacros:
  56. - foreach
  57. - Q_FOREACH
  58. - BOOST_FOREACH
  59. IncludeBlocks: Preserve
  60. IncludeCategories:
  61. - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
  62. Priority: 2
  63. - Regex: '^(<|"(gtest|gmock|isl|json)/)'
  64. Priority: 3
  65. - Regex: '.*'
  66. Priority: 1
  67. IncludeIsMainRegex: '(Test)?$'
  68. IndentCaseLabels: false
  69. IndentPPDirectives: None
  70. IndentWidth: 2
  71. IndentWrappedFunctionNames: false
  72. KeepEmptyLinesAtTheStartOfBlocks: true
  73. Language: Cpp
  74. MacroBlockBegin: ''
  75. MacroBlockEnd: ''
  76. MaxEmptyLinesToKeep: 1
  77. NamespaceIndentation: None
  78. PenaltyBreakAssignment: 2
  79. PenaltyBreakBeforeFirstCallParameter: 19
  80. PenaltyBreakComment: 300
  81. PenaltyBreakFirstLessLess: 120
  82. PenaltyBreakString: 1000
  83. PenaltyBreakTemplateDeclaration: 10
  84. PenaltyExcessCharacter: 1000000
  85. PenaltyReturnTypeOnItsOwnLine: 60
  86. PointerAlignment: Right
  87. ReflowComments: true
  88. SortIncludes: false
  89. SortUsingDeclarations: true
  90. SpaceAfterCStyleCast: true
  91. SpaceAfterTemplateKeyword: true
  92. SpaceBeforeAssignmentOperators: false
  93. SpaceBeforeCpp11BracedList: false
  94. SpaceBeforeCtorInitializerColon: true
  95. SpaceBeforeInheritanceColon: true
  96. SpaceBeforeParens: ControlStatements
  97. SpaceBeforeRangeBasedForLoopColon: true
  98. SpaceInEmptyParentheses: false
  99. SpacesBeforeTrailingComments: 1
  100. SpacesInAngles: false
  101. SpacesInContainerLiterals: true
  102. SpacesInCStyleCastParentheses: false
  103. SpacesInParentheses: false
  104. SpacesInSquareBrackets: false
  105. Standard: Cpp11
  106. StatementMacros:
  107. - Q_UNUSED
  108. - QT_REQUIRE_VERSION
  109. TabWidth: 8
  110. UseTab: Never
  111. ...