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