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