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