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.

137 lines
3.7 KiB

  1. Language: Cpp
  2. AccessModifierOffset: -1
  3. AlignAfterOpenBracket: Align
  4. AlignConsecutiveAssignments: false
  5. AlignConsecutiveDeclarations: false
  6. AlignEscapedNewlines: DontAlign
  7. AlignOperands: true
  8. AlignTrailingComments: true
  9. AllowAllParametersOfDeclarationOnNextLine: true
  10. AllowShortBlocksOnASingleLine: false
  11. AllowShortCaseLabelsOnASingleLine: false
  12. AllowShortFunctionsOnASingleLine: All
  13. AllowShortIfStatementsOnASingleLine: false
  14. AllowShortLoopsOnASingleLine: false
  15. AlwaysBreakAfterReturnType: None
  16. AlwaysBreakBeforeMultilineStrings: false
  17. AlwaysBreakTemplateDeclarations: MultiLine
  18. BinPackArguments: true
  19. BinPackParameters: true
  20. BraceWrapping:
  21. AfterClass: false
  22. AfterControlStatement: false
  23. AfterEnum: false
  24. AfterFunction: false
  25. AfterNamespace: false
  26. AfterObjCDeclaration: false
  27. AfterStruct: false
  28. AfterUnion: false
  29. AfterExternBlock: false
  30. BeforeCatch: false
  31. BeforeElse: false
  32. IndentBraces: false
  33. SplitEmptyFunction: true
  34. SplitEmptyRecord: true
  35. SplitEmptyNamespace: true
  36. BreakBeforeBinaryOperators: None
  37. BreakBeforeBraces: Attach
  38. BreakBeforeInheritanceComma: false
  39. BreakInheritanceList: BeforeColon
  40. BreakBeforeTernaryOperators: true
  41. BreakConstructorInitializersBeforeComma: false
  42. BreakConstructorInitializers: BeforeColon
  43. BreakAfterJavaFieldAnnotations: false
  44. BreakStringLiterals: true
  45. ColumnLimit: 120
  46. CommentPragmas: '^ IWYU pragma:'
  47. CompactNamespaces: false
  48. ConstructorInitializerAllOnOneLineOrOnePerLine: true
  49. ConstructorInitializerIndentWidth: 4
  50. ContinuationIndentWidth: 4
  51. Cpp11BracedListStyle: true
  52. DerivePointerAlignment: true
  53. DisableFormat: false
  54. ExperimentalAutoDetectBinPacking: false
  55. FixNamespaceComments: true
  56. ForEachMacros:
  57. - foreach
  58. - Q_FOREACH
  59. - BOOST_FOREACH
  60. IncludeBlocks: Preserve
  61. IncludeCategories:
  62. - Regex: '^<ext/.*\.h>'
  63. Priority: 2
  64. - Regex: '^<.*\.h>'
  65. Priority: 1
  66. - Regex: '^<.*'
  67. Priority: 2
  68. - Regex: '.*'
  69. Priority: 3
  70. IncludeIsMainRegex: '([-_](test|unittest))?$'
  71. IndentCaseLabels: true
  72. IndentPPDirectives: None
  73. IndentWidth: 2
  74. IndentWrappedFunctionNames: false
  75. KeepEmptyLinesAtTheStartOfBlocks: false
  76. MacroBlockBegin: ''
  77. MacroBlockEnd: ''
  78. MaxEmptyLinesToKeep: 1
  79. NamespaceIndentation: None
  80. PenaltyBreakAssignment: 2
  81. PenaltyBreakBeforeFirstCallParameter: 1
  82. PenaltyBreakComment: 300
  83. PenaltyBreakFirstLessLess: 120
  84. PenaltyBreakString: 1000
  85. PenaltyBreakTemplateDeclaration: 10
  86. PenaltyExcessCharacter: 1000000
  87. PenaltyReturnTypeOnItsOwnLine: 2000
  88. PointerAlignment: Right
  89. RawStringFormats:
  90. - Language: Cpp
  91. Delimiters:
  92. - cc
  93. - CC
  94. - cpp
  95. - Cpp
  96. - CPP
  97. - 'c++'
  98. - 'C++'
  99. CanonicalDelimiter: ''
  100. BasedOnStyle: google
  101. - Language: TextProto
  102. Delimiters:
  103. - pb
  104. - PB
  105. - proto
  106. - PROTO
  107. EnclosingFunctions:
  108. - EqualsProto
  109. - EquivToProto
  110. - PARSE_PARTIAL_TEXT_PROTO
  111. - PARSE_TEST_PROTO
  112. - PARSE_TEXT_PROTO
  113. - ParseTextOrDie
  114. - ParseTextProtoOrDie
  115. CanonicalDelimiter: ''
  116. BasedOnStyle: google
  117. ReflowComments: true
  118. SortIncludes: false
  119. SortUsingDeclarations: false
  120. SpaceAfterCStyleCast: true
  121. SpaceAfterTemplateKeyword: false
  122. SpaceBeforeAssignmentOperators: true
  123. SpaceBeforeCpp11BracedList: false
  124. SpaceBeforeCtorInitializerColon: true
  125. SpaceBeforeInheritanceColon: true
  126. SpaceBeforeParens: ControlStatements
  127. SpaceBeforeRangeBasedForLoopColon: true
  128. SpaceInEmptyParentheses: false
  129. SpacesBeforeTrailingComments: 2
  130. SpacesInAngles: false
  131. SpacesInContainerLiterals: false
  132. SpacesInCStyleCastParentheses: false
  133. SpacesInParentheses: false
  134. SpacesInSquareBrackets: false
  135. Standard: Auto
  136. TabWidth: 2
  137. UseTab: Never