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