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