b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- |
| 2 | Language: Cpp |
| 3 | AccessModifierOffset: -2 |
| 4 | AlignAfterOpenBracket: Align |
| 5 | AlignConsecutiveMacros: false |
| 6 | AlignConsecutiveAssignments: false |
| 7 | AlignConsecutiveDeclarations: false |
| 8 | AlignEscapedNewlines: Left |
| 9 | AlignOperands: true |
| 10 | AlignTrailingComments: true |
| 11 | AllowAllArgumentsOnNextLine: true |
| 12 | AllowAllConstructorInitializersOnNextLine: true |
| 13 | AllowAllParametersOfDeclarationOnNextLine: false |
| 14 | AllowShortBlocksOnASingleLine: Always |
| 15 | AllowShortCaseLabelsOnASingleLine: true |
| 16 | # AllowShortEnumsOnASingleLine: true |
| 17 | AllowShortLambdasOnASingleLine: All |
| 18 | AllowShortFunctionsOnASingleLine: Inline |
| 19 | AllowShortIfStatementsOnASingleLine: Always |
| 20 | AllowShortLoopsOnASingleLine: true |
| 21 | AlwaysBreakAfterDefinitionReturnType: None |
| 22 | AlwaysBreakAfterReturnType: None |
| 23 | AlwaysBreakBeforeMultilineStrings: true |
| 24 | AlwaysBreakTemplateDeclarations: Yes |
| 25 | BinPackArguments: true |
| 26 | BinPackParameters: false |
| 27 | # BitFieldColonSpacing: After |
| 28 | BreakBeforeBraces: Custom |
| 29 | BraceWrapping: |
| 30 | AfterCaseLabel: false |
| 31 | AfterClass: false |
| 32 | AfterControlStatement: MultiLine |
| 33 | AfterEnum: false |
| 34 | AfterFunction: true |
| 35 | AfterNamespace: false |
| 36 | AfterObjCDeclaration: false |
| 37 | AfterStruct: false |
| 38 | AfterUnion: false |
| 39 | AfterExternBlock: false |
| 40 | BeforeCatch: true |
| 41 | BeforeElse: true |
| 42 | # BeforeLambdaBody: true |
| 43 | # BeforeWhile: false |
| 44 | IndentBraces: false |
| 45 | SplitEmptyFunction: false |
| 46 | SplitEmptyRecord: false |
| 47 | SplitEmptyNamespace: false |
| 48 | BreakBeforeBinaryOperators: None |
| 49 | BreakBeforeInheritanceComma: false |
| 50 | BreakInheritanceList: BeforeColon |
| 51 | BreakBeforeTernaryOperators: true |
| 52 | BreakConstructorInitializersBeforeComma: false |
| 53 | BreakConstructorInitializers: BeforeColon |
| 54 | BreakAfterJavaFieldAnnotations: false |
| 55 | BreakStringLiterals: true |
| 56 | ColumnLimit: 100 |
| 57 | CommentPragmas: '^ IWYU pragma:' |
| 58 | CompactNamespaces: false |
| 59 | ConstructorInitializerAllOnOneLineOrOnePerLine: true |
| 60 | ConstructorInitializerIndentWidth: 4 |
| 61 | ContinuationIndentWidth: 4 |
| 62 | Cpp11BracedListStyle: true |
| 63 | DeriveLineEnding: true |
| 64 | DerivePointerAlignment: false |
| 65 | DisableFormat: false |
| 66 | ExperimentalAutoDetectBinPacking: false |
| 67 | FixNamespaceComments: true |
| 68 | ForEachMacros: |
| 69 | - foreach |
| 70 | - Q_FOREACH |
| 71 | - BOOST_FOREACH |
| 72 | IncludeBlocks: Preserve |
| 73 | IncludeCategories: |
| 74 | - Regex: '^<ext/.*\.h>' |
| 75 | Priority: 2 |
| 76 | SortPriority: 0 |
| 77 | - Regex: '^<.*\.h>' |
| 78 | Priority: 1 |
| 79 | SortPriority: 0 |
| 80 | - Regex: '^<.*' |
| 81 | Priority: 2 |
| 82 | SortPriority: 0 |
| 83 | - Regex: '.*' |
| 84 | Priority: 3 |
| 85 | SortPriority: 0 |
| 86 | IncludeIsMainRegex: '([-_](test|unittest))?$' |
| 87 | IncludeIsMainSourceRegex: '' |
| 88 | IndentCaseLabels: true |
| 89 | IndentGotoLabels: true |
| 90 | IndentPPDirectives: None |
| 91 | IndentWidth: 4 |
| 92 | IndentWrappedFunctionNames: false |
| 93 | JavaScriptQuotes: Leave |
| 94 | JavaScriptWrapImports: true |
| 95 | KeepEmptyLinesAtTheStartOfBlocks: false |
| 96 | MacroBlockBegin: '' |
| 97 | MacroBlockEnd: '' |
| 98 | MaxEmptyLinesToKeep: 1 |
| 99 | NamespaceIndentation: None |
| 100 | ObjCBinPackProtocolList: Never |
| 101 | ObjCBlockIndentWidth: 2 |
| 102 | ObjCSpaceAfterProperty: false |
| 103 | ObjCSpaceBeforeProtocolList: true |
| 104 | PenaltyBreakAssignment: 2 |
| 105 | PenaltyBreakBeforeFirstCallParameter: 1 |
| 106 | PenaltyBreakComment: 300 |
| 107 | PenaltyBreakFirstLessLess: 120 |
| 108 | PenaltyBreakString: 1000 |
| 109 | PenaltyBreakTemplateDeclaration: 10 |
| 110 | PenaltyExcessCharacter: 1000000 |
| 111 | PenaltyReturnTypeOnItsOwnLine: 200 |
| 112 | PointerAlignment: Left |
| 113 | RawStringFormats: |
| 114 | - Language: Cpp |
| 115 | Delimiters: |
| 116 | - cc |
| 117 | - CC |
| 118 | - cpp |
| 119 | - Cpp |
| 120 | - CPP |
| 121 | - 'c++' |
| 122 | - 'C++' |
| 123 | CanonicalDelimiter: '' |
| 124 | BasedOnStyle: google |
| 125 | - Language: TextProto |
| 126 | Delimiters: |
| 127 | - pb |
| 128 | - PB |
| 129 | - proto |
| 130 | - PROTO |
| 131 | EnclosingFunctions: |
| 132 | - EqualsProto |
| 133 | - EquivToProto |
| 134 | - PARSE_PARTIAL_TEXT_PROTO |
| 135 | - PARSE_TEST_PROTO |
| 136 | - PARSE_TEXT_PROTO |
| 137 | - ParseTextOrDie |
| 138 | - ParseTextProtoOrDie |
| 139 | CanonicalDelimiter: '' |
| 140 | BasedOnStyle: google |
| 141 | ReflowComments: true |
| 142 | SortIncludes: true |
| 143 | SortUsingDeclarations: true |
| 144 | SpaceAfterCStyleCast: false |
| 145 | SpaceAfterLogicalNot: false |
| 146 | SpaceAfterTemplateKeyword: true |
| 147 | SpaceBeforeAssignmentOperators: true |
| 148 | SpaceBeforeCpp11BracedList: false |
| 149 | SpaceBeforeCtorInitializerColon: true |
| 150 | SpaceBeforeInheritanceColon: true |
| 151 | SpaceBeforeParens: ControlStatements |
| 152 | SpaceBeforeRangeBasedForLoopColon: true |
| 153 | SpaceInEmptyBlock: false |
| 154 | SpaceInEmptyParentheses: false |
| 155 | SpacesBeforeTrailingComments: 2 |
| 156 | SpacesInAngles: false |
| 157 | SpacesInConditionalStatement: false |
| 158 | SpacesInContainerLiterals: true |
| 159 | SpacesInCStyleCastParentheses: false |
| 160 | SpacesInParentheses: false |
| 161 | SpacesInSquareBrackets: false |
| 162 | SpaceBeforeSquareBrackets: false |
| 163 | Standard: Auto |
| 164 | StatementMacros: |
| 165 | - Q_UNUSED |
| 166 | - QT_REQUIRE_VERSION |
| 167 | TabWidth: 4 |
| 168 | UseCRLF: false |
| 169 | UseTab: Never |
| 170 | ... |
| 171 | |