Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 1 | --- |
| 2 | Language: Cpp |
| 3 | # BasedOnStyle: LLVM |
| 4 | AccessModifierOffset: -2 |
| 5 | AlignAfterOpenBracket: Align |
| 6 | AlignConsecutiveAssignments: false |
| 7 | AlignConsecutiveDeclarations: false |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 8 | AlignEscapedNewlines: Right |
| 9 | AlignOperands: Align |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 10 | AlignTrailingComments: true |
| 11 | AllowAllParametersOfDeclarationOnNextLine: true |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 12 | AllowShortBlocksOnASingleLine: Empty |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 13 | AllowShortCaseLabelsOnASingleLine: false |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 14 | AllowShortFunctionsOnASingleLine: Empty |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 15 | AllowShortIfStatementsOnASingleLine: false |
| 16 | AllowShortLoopsOnASingleLine: false |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 17 | AlwaysBreakAfterReturnType: None |
| 18 | AlwaysBreakBeforeMultilineStrings: false |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 19 | AlwaysBreakTemplateDeclarations: Yes |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 20 | BinPackArguments: true |
| 21 | BinPackParameters: true |
| 22 | BraceWrapping: |
Matt Spinler | 18f4b6e | 2020-05-21 11:36:24 -0500 | [diff] [blame] | 23 | AfterCaseLabel: true |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -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 |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 32 | AfterExternBlock: true |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 33 | BeforeCatch: true |
| 34 | BeforeElse: true |
| 35 | IndentBraces: false |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 36 | SplitEmptyFunction: false |
| 37 | SplitEmptyRecord: false |
| 38 | SplitEmptyNamespace: false |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 39 | BreakBeforeBinaryOperators: None |
| 40 | BreakBeforeBraces: Custom |
| 41 | BreakBeforeTernaryOperators: true |
| 42 | BreakConstructorInitializers: AfterColon |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 43 | BreakInheritanceList: AfterColon |
| 44 | BreakStringLiterals: false |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 45 | ColumnLimit: 80 |
| 46 | CommentPragmas: '^ IWYU pragma:' |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 47 | CompactNamespaces: false |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 48 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 49 | ConstructorInitializerIndentWidth: 4 |
| 50 | ContinuationIndentWidth: 4 |
| 51 | Cpp11BracedListStyle: true |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 52 | DeriveLineEnding: false |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -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)' |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 62 | Priority: 7 |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 63 | - Regex: '^"config.h"' |
| 64 | Priority: -1 |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 65 | - Regex: '^".*\.h"' |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 66 | Priority: 1 |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 67 | - Regex: '^".*\.hpp"' |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 68 | Priority: 2 |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 69 | - Regex: '^<.*\.h>' |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 70 | Priority: 3 |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 71 | - Regex: '^<.*\.hpp>' |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 72 | Priority: 4 |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 73 | - Regex: '^<.*' |
| 74 | Priority: 5 |
| 75 | - Regex: '.*' |
| 76 | Priority: 6 |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 77 | IndentCaseLabels: true |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 78 | IndentRequiresClause: true |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 79 | IndentWidth: 4 |
| 80 | IndentWrappedFunctionNames: true |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 81 | KeepEmptyLinesAtTheStartOfBlocks: false |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 82 | MacroBlockBegin: '' |
| 83 | MacroBlockEnd: '' |
| 84 | MaxEmptyLinesToKeep: 1 |
| 85 | NamespaceIndentation: None |
| 86 | ObjCBlockIndentWidth: 2 |
| 87 | ObjCSpaceAfterProperty: false |
| 88 | ObjCSpaceBeforeProtocolList: true |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 89 | PenaltyBreakAssignment: 25 |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 90 | PenaltyBreakBeforeFirstCallParameter: 19 |
| 91 | PenaltyBreakComment: 300 |
| 92 | PenaltyBreakFirstLessLess: 120 |
| 93 | PenaltyBreakString: 1000 |
| 94 | PenaltyExcessCharacter: 1000000 |
| 95 | PenaltyReturnTypeOnItsOwnLine: 60 |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 96 | PenaltyIndentedWhitespace: 0 |
| 97 | QualifierAlignment: Left |
| 98 | ReferenceAlignment: Left |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 99 | ReflowComments: true |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 100 | RequiresClausePosition: OwnLine |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 101 | SortIncludes: true |
| 102 | SortUsingDeclarations: true |
| 103 | SpaceAfterCStyleCast: false |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 104 | SpaceAfterTemplateKeyword: true |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 105 | SpaceBeforeAssignmentOperators: true |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 106 | SpaceBeforeCpp11BracedList: false |
| 107 | SpaceBeforeCtorInitializerColon: true |
| 108 | SpaceBeforeInheritanceColon: true |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 109 | SpaceBeforeParens: ControlStatements |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 110 | SpaceBeforeRangeBasedForLoopColon: true |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [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 | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 118 | Standard: Latest |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 119 | TabWidth: 4 |
Patrick Williams | 2544b41 | 2022-10-04 08:41:06 -0500 | [diff] [blame] | 120 | UseCRLF: false |
Patrick Venture | f18bf83 | 2018-10-26 18:14:00 -0700 | [diff] [blame] | 121 | UseTab: Never |
| 122 | ... |
| 123 | |