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.

110 lines
3.1 KiB

  1. ---
  2. Language: Cpp
  3. # BasedOnStyle: Google
  4. AccessModifierOffset: -1
  5. AlignAfterOpenBracket: Align
  6. AlignConsecutiveMacros: false
  7. AlignConsecutiveAssignments: true
  8. AlignConsecutiveDeclarations: true
  9. AlignEscapedNewlines: Left
  10. AlignOperands: false
  11. AlignTrailingComments: true
  12. AllowAllArgumentsOnNextLine: true
  13. AllowAllConstructorInitializersOnNextLine: false
  14. AllowAllParametersOfDeclarationOnNextLine: false
  15. AllowShortBlocksOnASingleLine: true
  16. AllowShortCaseLabelsOnASingleLine: true
  17. AllowShortFunctionsOnASingleLine: Empty
  18. AllowShortLambdasOnASingleLine: All
  19. AllowShortIfStatementsOnASingleLine: WithoutElse
  20. AllowShortLoopsOnASingleLine: true
  21. AlwaysBreakAfterDefinitionReturnType: None
  22. AlwaysBreakAfterReturnType: None
  23. AlwaysBreakBeforeMultilineStrings: false
  24. AlwaysBreakTemplateDeclarations: Yes
  25. BinPackArguments: true
  26. BinPackParameters: true
  27. BreakBeforeBinaryOperators: None
  28. BreakBeforeBraces: Attach
  29. BreakBeforeInheritanceComma: false
  30. BreakInheritanceList: BeforeColon
  31. BreakBeforeTernaryOperators: true
  32. BreakConstructorInitializersBeforeComma: false
  33. BreakConstructorInitializers: BeforeColon
  34. BreakAfterJavaFieldAnnotations: false
  35. BreakStringLiterals: true
  36. ColumnLimit: 80
  37. CommentPragmas: "^ IWYU pragma:"
  38. CompactNamespaces: false
  39. ConstructorInitializerAllOnOneLineOrOnePerLine: true
  40. ConstructorInitializerIndentWidth: 4
  41. ContinuationIndentWidth: 4
  42. Cpp11BracedListStyle: true
  43. DerivePointerAlignment: false
  44. DisableFormat: false
  45. ExperimentalAutoDetectBinPacking: false
  46. FixNamespaceComments: true
  47. ForEachMacros:
  48. - foreach
  49. - Q_FOREACH
  50. - BOOST_FOREACH
  51. IncludeBlocks: Preserve
  52. IncludeCategories:
  53. - Regex: '^<ext/.*\.h>'
  54. Priority: 2
  55. - Regex: '^<.*\.h>'
  56. Priority: 1
  57. - Regex: '^<.*'
  58. Priority: 2
  59. - Regex: '.*'
  60. Priority: 3
  61. IncludeIsMainRegex: '([-_](test|unittest))?$'
  62. IndentCaseLabels: true
  63. IndentPPDirectives: None
  64. IndentWidth: 2
  65. IndentWrappedFunctionNames: false
  66. JavaScriptQuotes: Leave
  67. JavaScriptWrapImports: true
  68. KeepEmptyLinesAtTheStartOfBlocks: false
  69. MacroBlockBegin: ""
  70. MacroBlockEnd: ""
  71. MaxEmptyLinesToKeep: 2
  72. NamespaceIndentation: None
  73. # ObjCBinPackProtocolList: Auto
  74. ObjCBlockIndentWidth: 2
  75. ObjCSpaceAfterProperty: false
  76. ObjCSpaceBeforeProtocolList: true
  77. PenaltyBreakAssignment: 25
  78. PenaltyBreakBeforeFirstCallParameter: 19
  79. PenaltyBreakComment: 300
  80. PenaltyBreakFirstLessLess: 120
  81. PenaltyBreakString: 1000
  82. PenaltyBreakTemplateDeclaration: 10
  83. PenaltyExcessCharacter: 60
  84. PenaltyReturnTypeOnItsOwnLine: 50
  85. PointerAlignment: Left
  86. PointerBindsToType: true
  87. ReflowComments: true
  88. SortIncludes: false
  89. SortUsingDeclarations: true
  90. SpaceAfterCStyleCast: false
  91. SpaceAfterLogicalNot: false
  92. SpaceAfterTemplateKeyword: true
  93. SpaceBeforeAssignmentOperators: true
  94. SpaceBeforeCpp11BracedList: false
  95. SpaceBeforeCtorInitializerColon: true
  96. SpaceBeforeInheritanceColon: true
  97. SpaceBeforeParens: ControlStatements
  98. SpaceBeforeRangeBasedForLoopColon: true
  99. SpaceInEmptyParentheses: false
  100. SpacesBeforeTrailingComments: 2
  101. SpacesInAngles: false
  102. SpacesInCStyleCastParentheses: false
  103. SpacesInContainerLiterals: true
  104. SpacesInCStyleCastParentheses: false
  105. SpacesInParentheses: false
  106. SpacesInSquareBrackets: false
  107. Standard: Cpp11
  108. TabWidth: 2
  109. UseTab: Never
  110. ---