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