Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 1 | --- |
| 2 | Language: Cpp |
| 3 | # BasedOnStyle: LLVM |
| 4 | AccessModifierOffset: -2 |
| 5 | AlignAfterOpenBracket: Align |
| 6 | AlignConsecutiveAssignments: false |
| 7 | AlignConsecutiveDeclarations: false |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 8 | AlignEscapedNewlines: Right |
Patrick Williams | 41f42f6 | 2022-09-30 06:49:50 -0500 | [diff] [blame^] | 9 | AlignOperands: Align |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 10 | AlignTrailingComments: true |
| 11 | AllowAllParametersOfDeclarationOnNextLine: true |
Patrick Williams | f289c65 | 2022-08-26 10:43:10 -0500 | [diff] [blame] | 12 | AllowShortBlocksOnASingleLine: Empty |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 13 | AllowShortCaseLabelsOnASingleLine: false |
Patrick Williams | f289c65 | 2022-08-26 10:43:10 -0500 | [diff] [blame] | 14 | AllowShortFunctionsOnASingleLine: Empty |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 15 | AllowShortIfStatementsOnASingleLine: false |
| 16 | AllowShortLoopsOnASingleLine: false |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 17 | AlwaysBreakAfterReturnType: None |
| 18 | AlwaysBreakBeforeMultilineStrings: false |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 19 | AlwaysBreakTemplateDeclarations: Yes |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 20 | BinPackArguments: true |
| 21 | BinPackParameters: true |
| 22 | BraceWrapping: |
Patrick Williams | 01ac5ca | 2020-05-21 15:06:30 -0500 | [diff] [blame] | 23 | AfterCaseLabel: true |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 24 | AfterClass: true |
| 25 | AfterControlStatement: true |
| 26 | AfterEnum: true |
| 27 | AfterFunction: true |
| 28 | AfterNamespace: true |
| 29 | AfterObjCDeclaration: true |
| 30 | AfterStruct: true |
| 31 | AfterUnion: true |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 32 | AfterExternBlock: true |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 33 | BeforeCatch: true |
| 34 | BeforeElse: true |
| 35 | IndentBraces: false |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 36 | SplitEmptyFunction: false |
| 37 | SplitEmptyRecord: false |
| 38 | SplitEmptyNamespace: false |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 39 | BreakBeforeBinaryOperators: None |
| 40 | BreakBeforeBraces: Custom |
| 41 | BreakBeforeTernaryOperators: true |
| 42 | BreakConstructorInitializers: AfterColon |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 43 | BreakInheritanceList: AfterColon |
Patrick Williams | f289c65 | 2022-08-26 10:43:10 -0500 | [diff] [blame] | 44 | BreakStringLiterals: false |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 45 | ColumnLimit: 80 |
| 46 | CommentPragmas: '^ IWYU pragma:' |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 47 | CompactNamespaces: false |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 48 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 49 | ConstructorInitializerIndentWidth: 4 |
| 50 | ContinuationIndentWidth: 4 |
| 51 | Cpp11BracedListStyle: true |
Patrick Williams | f289c65 | 2022-08-26 10:43:10 -0500 | [diff] [blame] | 52 | DeriveLineEnding: false |
William A. Kennington III | e0d6965 | 2018-08-31 13:09:47 -0700 | [diff] [blame] | 53 | DerivePointerAlignment: false |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 54 | PointerAlignment: Left |
| 55 | DisableFormat: false |
| 56 | ExperimentalAutoDetectBinPacking: false |
| 57 | FixNamespaceComments: true |
| 58 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
Patrick Venture | 95269db | 2018-08-31 09:19:17 -0700 | [diff] [blame] | 59 | IncludeBlocks: Regroup |
| 60 | IncludeCategories: |
| 61 | - Regex: '^[<"](gtest|gmock)' |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 62 | Priority: 7 |
Patrick Venture | 95269db | 2018-08-31 09:19:17 -0700 | [diff] [blame] | 63 | - Regex: '^"config.h"' |
| 64 | Priority: -1 |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 65 | - Regex: '^".*\.h"' |
Patrick Venture | 95269db | 2018-08-31 09:19:17 -0700 | [diff] [blame] | 66 | Priority: 1 |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 67 | - Regex: '^".*\.hpp"' |
Patrick Venture | 95269db | 2018-08-31 09:19:17 -0700 | [diff] [blame] | 68 | Priority: 2 |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 69 | - Regex: '^<.*\.h>' |
Patrick Venture | 95269db | 2018-08-31 09:19:17 -0700 | [diff] [blame] | 70 | Priority: 3 |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 71 | - Regex: '^<.*\.hpp>' |
Patrick Venture | 95269db | 2018-08-31 09:19:17 -0700 | [diff] [blame] | 72 | Priority: 4 |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 73 | - Regex: '^<.*' |
| 74 | Priority: 5 |
| 75 | - Regex: '.*' |
| 76 | Priority: 6 |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 77 | IndentCaseLabels: true |
Patrick Williams | 41f42f6 | 2022-09-30 06:49:50 -0500 | [diff] [blame^] | 78 | IndentRequiresClause: true |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 79 | IndentWidth: 4 |
Adriana Kobylak | f9c02db | 2018-02-28 13:28:54 -0600 | [diff] [blame] | 80 | IndentWrappedFunctionNames: true |
Patrick Williams | f289c65 | 2022-08-26 10:43:10 -0500 | [diff] [blame] | 81 | KeepEmptyLinesAtTheStartOfBlocks: false |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 82 | MacroBlockBegin: '' |
| 83 | MacroBlockEnd: '' |
| 84 | MaxEmptyLinesToKeep: 1 |
| 85 | NamespaceIndentation: None |
| 86 | ObjCBlockIndentWidth: 2 |
| 87 | ObjCSpaceAfterProperty: false |
| 88 | ObjCSpaceBeforeProtocolList: true |
Patrick Williams | 1a25a10 | 2022-09-29 17:18:26 -0500 | [diff] [blame] | 89 | PenaltyBreakAssignment: 25 |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 90 | PenaltyBreakBeforeFirstCallParameter: 19 |
| 91 | PenaltyBreakComment: 300 |
| 92 | PenaltyBreakFirstLessLess: 120 |
| 93 | PenaltyBreakString: 1000 |
| 94 | PenaltyExcessCharacter: 1000000 |
| 95 | PenaltyReturnTypeOnItsOwnLine: 60 |
Patrick Williams | 1a25a10 | 2022-09-29 17:18:26 -0500 | [diff] [blame] | 96 | PenaltyIndentedWhitespace: 0 |
Patrick Williams | 41f42f6 | 2022-09-30 06:49:50 -0500 | [diff] [blame^] | 97 | QualifierAlignment: Left |
| 98 | ReferenceAlignment: Left |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 99 | ReflowComments: true |
Patrick Williams | 41f42f6 | 2022-09-30 06:49:50 -0500 | [diff] [blame^] | 100 | RequiresClausePosition: OwnLine |
Patrick Venture | 95269db | 2018-08-31 09:19:17 -0700 | [diff] [blame] | 101 | SortIncludes: true |
William A. Kennington III | 06da562 | 2018-08-31 13:00:29 -0700 | [diff] [blame] | 102 | SortUsingDeclarations: true |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 103 | SpaceAfterCStyleCast: false |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 104 | SpaceAfterTemplateKeyword: true |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 105 | SpaceBeforeAssignmentOperators: true |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 106 | SpaceBeforeCpp11BracedList: false |
| 107 | SpaceBeforeCtorInitializerColon: true |
| 108 | SpaceBeforeInheritanceColon: true |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 109 | SpaceBeforeParens: ControlStatements |
Patrick Williams | 127b8ab | 2020-05-21 15:24:19 -0500 | [diff] [blame] | 110 | SpaceBeforeRangeBasedForLoopColon: true |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 111 | SpaceInEmptyParentheses: false |
| 112 | SpacesBeforeTrailingComments: 1 |
| 113 | SpacesInAngles: false |
| 114 | SpacesInContainerLiterals: true |
| 115 | SpacesInCStyleCastParentheses: false |
| 116 | SpacesInParentheses: false |
| 117 | SpacesInSquareBrackets: false |
Patrick Williams | f289c65 | 2022-08-26 10:43:10 -0500 | [diff] [blame] | 118 | Standard: Latest |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 119 | TabWidth: 4 |
Patrick Williams | f289c65 | 2022-08-26 10:43:10 -0500 | [diff] [blame] | 120 | UseCRLF: false |
Andrew Geissler | 072da3e | 2018-01-18 07:21:42 -0800 | [diff] [blame] | 121 | UseTab: Never |
| 122 | ... |
| 123 | |