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