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