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