Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 1 | --- |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 2 | Language: Cpp |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 3 | # BasedOnStyle: LLVM |
| 4 | AccessModifierOffset: -2 |
| 5 | AlignAfterOpenBracket: Align |
| 6 | AlignConsecutiveAssignments: false |
| 7 | AlignConsecutiveDeclarations: false |
| 8 | AlignEscapedNewlines: Right |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 9 | AlignOperands: Align |
| 10 | AlignTrailingComments: |
| 11 | Kind: Always |
| 12 | OverEmptyLines: 1 |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 13 | AllowAllParametersOfDeclarationOnNextLine: true |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 14 | AllowShortBlocksOnASingleLine: Empty |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 15 | AllowShortCaseLabelsOnASingleLine: false |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 16 | AllowShortFunctionsOnASingleLine: Empty |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 17 | AllowShortIfStatementsOnASingleLine: false |
| 18 | AllowShortLoopsOnASingleLine: false |
| 19 | AlwaysBreakAfterReturnType: None |
| 20 | AlwaysBreakBeforeMultilineStrings: false |
| 21 | AlwaysBreakTemplateDeclarations: Yes |
| 22 | BinPackArguments: true |
| 23 | BinPackParameters: true |
| 24 | BraceWrapping: |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 25 | AfterCaseLabel: true |
| 26 | AfterClass: true |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 27 | AfterControlStatement: true |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 28 | AfterEnum: true |
| 29 | AfterFunction: true |
| 30 | AfterNamespace: true |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 31 | AfterObjCDeclaration: true |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 32 | AfterStruct: true |
| 33 | AfterUnion: true |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 34 | AfterExternBlock: true |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 35 | BeforeCatch: true |
| 36 | BeforeElse: true |
| 37 | IndentBraces: false |
| 38 | SplitEmptyFunction: false |
| 39 | SplitEmptyRecord: false |
| 40 | SplitEmptyNamespace: false |
| 41 | BreakAfterAttributes: Never |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 42 | BreakBeforeBinaryOperators: None |
| 43 | BreakBeforeBraces: Custom |
| 44 | BreakBeforeTernaryOperators: true |
| 45 | BreakConstructorInitializers: AfterColon |
| 46 | BreakInheritanceList: AfterColon |
| 47 | BreakStringLiterals: false |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 48 | ColumnLimit: 80 |
| 49 | CommentPragmas: '^ IWYU pragma:' |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 50 | CompactNamespaces: false |
| 51 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 52 | ConstructorInitializerIndentWidth: 4 |
| 53 | ContinuationIndentWidth: 4 |
| 54 | Cpp11BracedListStyle: true |
| 55 | DeriveLineEnding: false |
| 56 | DerivePointerAlignment: false |
| 57 | PointerAlignment: Left |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 58 | DisableFormat: false |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 59 | ExperimentalAutoDetectBinPacking: false |
| 60 | FixNamespaceComments: true |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 61 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 62 | IncludeBlocks: Regroup |
| 63 | IncludeCategories: |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 64 | - Regex: '^[<"](gtest|gmock)' |
| 65 | Priority: 7 |
| 66 | - Regex: '^"config.h"' |
| 67 | Priority: -1 |
| 68 | - Regex: '^".*\.h"' |
| 69 | Priority: 1 |
| 70 | - Regex: '^".*\.hpp"' |
| 71 | Priority: 2 |
| 72 | - Regex: '^<.*\.h>' |
| 73 | Priority: 3 |
| 74 | - Regex: '^<.*\.hpp>' |
| 75 | Priority: 4 |
| 76 | - Regex: '^<.*' |
| 77 | Priority: 5 |
| 78 | - Regex: '.*' |
| 79 | Priority: 6 |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 80 | IndentCaseLabels: true |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 81 | IndentRequiresClause: true |
| 82 | IndentWidth: 4 |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 83 | IndentWrappedFunctionNames: true |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 84 | InsertNewlineAtEOF: true |
| 85 | KeepEmptyLinesAtTheStartOfBlocks: false |
| 86 | LambdaBodyIndentation: OuterScope |
| 87 | LineEnding: LF |
| 88 | MacroBlockBegin: '' |
| 89 | MacroBlockEnd: '' |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 90 | MaxEmptyLinesToKeep: 1 |
| 91 | NamespaceIndentation: None |
| 92 | ObjCBlockIndentWidth: 2 |
| 93 | ObjCSpaceAfterProperty: false |
| 94 | ObjCSpaceBeforeProtocolList: true |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 95 | PenaltyBreakAssignment: 25 |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 96 | PenaltyBreakBeforeFirstCallParameter: 19 |
| 97 | PenaltyBreakComment: 300 |
| 98 | PenaltyBreakFirstLessLess: 120 |
| 99 | PenaltyBreakString: 1000 |
| 100 | PenaltyExcessCharacter: 1000000 |
| 101 | PenaltyReturnTypeOnItsOwnLine: 60 |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 102 | PenaltyIndentedWhitespace: 0 |
| 103 | QualifierAlignment: Left |
| 104 | ReferenceAlignment: Left |
| 105 | ReflowComments: true |
| 106 | RequiresClausePosition: OwnLine |
| 107 | RequiresExpressionIndentation: Keyword |
| 108 | SortIncludes: true |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 109 | SortUsingDeclarations: true |
| 110 | SpaceAfterCStyleCast: false |
| 111 | SpaceAfterTemplateKeyword: true |
| 112 | SpaceBeforeAssignmentOperators: true |
| 113 | SpaceBeforeCpp11BracedList: false |
| 114 | SpaceBeforeCtorInitializerColon: true |
| 115 | SpaceBeforeInheritanceColon: true |
| 116 | SpaceBeforeParens: ControlStatements |
| 117 | SpaceBeforeRangeBasedForLoopColon: true |
| 118 | SpaceInEmptyParentheses: false |
| 119 | SpacesBeforeTrailingComments: 1 |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 120 | SpacesInAngles: false |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 121 | SpacesInContainerLiterals: true |
| 122 | SpacesInCStyleCastParentheses: false |
| 123 | SpacesInParentheses: false |
| 124 | SpacesInSquareBrackets: false |
Patrick Williams | b812576 | 2023-05-10 07:51:26 -0500 | [diff] [blame] | 125 | Standard: Latest |
| 126 | TabWidth: 4 |
| 127 | UseTab: Never |
| 128 | ... |
| 129 | |