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