Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 1 | --- |
| 2 | Language: Cpp |
| 3 | # BasedOnStyle: LLVM |
| 4 | AccessModifierOffset: -2 |
| 5 | AlignAfterOpenBracket: Align |
| 6 | AlignConsecutiveAssignments: false |
| 7 | AlignConsecutiveDeclarations: false |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 8 | AlignEscapedNewlines: Right |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 9 | AlignOperands: true |
| 10 | AlignTrailingComments: true |
| 11 | AllowAllParametersOfDeclarationOnNextLine: true |
| 12 | AllowShortBlocksOnASingleLine: false |
| 13 | AllowShortCaseLabelsOnASingleLine: false |
| 14 | AllowShortFunctionsOnASingleLine: None |
| 15 | AllowShortIfStatementsOnASingleLine: false |
| 16 | AllowShortLoopsOnASingleLine: false |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 17 | AlwaysBreakAfterReturnType: None |
| 18 | AlwaysBreakBeforeMultilineStrings: false |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 19 | AlwaysBreakTemplateDeclarations: Yes |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 20 | BinPackArguments: true |
| 21 | BinPackParameters: true |
| 22 | BraceWrapping: |
Shawn McCarney | 06a905d | 2020-05-26 12:59:15 -0500 | [diff] [blame] | 23 | AfterCaseLabel: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [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 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 32 | AfterExternBlock: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 33 | BeforeCatch: true |
| 34 | BeforeElse: true |
| 35 | IndentBraces: false |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 36 | SplitEmptyFunction: true |
| 37 | SplitEmptyRecord: true |
| 38 | SplitEmptyNamespace: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 39 | BreakBeforeBinaryOperators: None |
| 40 | BreakBeforeBraces: Custom |
| 41 | BreakBeforeTernaryOperators: true |
| 42 | BreakConstructorInitializers: AfterColon |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 43 | BreakInheritanceList: AfterColon |
| 44 | BreakStringLiterals: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 45 | ColumnLimit: 80 |
| 46 | CommentPragmas: '^ IWYU pragma:' |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 47 | CompactNamespaces: false |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 48 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 49 | ConstructorInitializerIndentWidth: 4 |
| 50 | ContinuationIndentWidth: 4 |
| 51 | Cpp11BracedListStyle: true |
| 52 | DerivePointerAlignment: false |
| 53 | PointerAlignment: Left |
| 54 | DisableFormat: false |
| 55 | ExperimentalAutoDetectBinPacking: false |
| 56 | FixNamespaceComments: true |
| 57 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| 58 | IncludeBlocks: Regroup |
| 59 | IncludeCategories: |
| 60 | - Regex: '^[<"](gtest|gmock)' |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 61 | Priority: 7 |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 62 | - Regex: '^"config.h"' |
| 63 | Priority: -1 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 64 | - Regex: '^".*\.h"' |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 65 | Priority: 1 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 66 | - Regex: '^".*\.hpp"' |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 67 | Priority: 2 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 68 | - Regex: '^<.*\.h>' |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 69 | Priority: 3 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 70 | - Regex: '^<.*\.hpp>' |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 71 | Priority: 4 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 72 | - Regex: '^<.*' |
| 73 | Priority: 5 |
| 74 | - Regex: '.*' |
| 75 | Priority: 6 |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 76 | IndentCaseLabels: true |
| 77 | IndentWidth: 4 |
| 78 | IndentWrappedFunctionNames: true |
| 79 | KeepEmptyLinesAtTheStartOfBlocks: true |
| 80 | MacroBlockBegin: '' |
| 81 | MacroBlockEnd: '' |
| 82 | MaxEmptyLinesToKeep: 1 |
| 83 | NamespaceIndentation: None |
| 84 | ObjCBlockIndentWidth: 2 |
| 85 | ObjCSpaceAfterProperty: false |
| 86 | ObjCSpaceBeforeProtocolList: true |
| 87 | PenaltyBreakBeforeFirstCallParameter: 19 |
| 88 | PenaltyBreakComment: 300 |
| 89 | PenaltyBreakFirstLessLess: 120 |
| 90 | PenaltyBreakString: 1000 |
| 91 | PenaltyExcessCharacter: 1000000 |
| 92 | PenaltyReturnTypeOnItsOwnLine: 60 |
| 93 | ReflowComments: true |
| 94 | SortIncludes: true |
| 95 | SortUsingDeclarations: true |
| 96 | SpaceAfterCStyleCast: false |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 97 | SpaceAfterTemplateKeyword: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 98 | SpaceBeforeAssignmentOperators: true |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 99 | SpaceBeforeCpp11BracedList: false |
| 100 | SpaceBeforeCtorInitializerColon: true |
| 101 | SpaceBeforeInheritanceColon: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 102 | SpaceBeforeParens: ControlStatements |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame] | 103 | SpaceBeforeRangeBasedForLoopColon: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 104 | SpaceInEmptyParentheses: false |
| 105 | SpacesBeforeTrailingComments: 1 |
| 106 | SpacesInAngles: false |
| 107 | SpacesInContainerLiterals: true |
| 108 | SpacesInCStyleCastParentheses: false |
| 109 | SpacesInParentheses: false |
| 110 | SpacesInSquareBrackets: false |
| 111 | Standard: Cpp11 |
| 112 | TabWidth: 4 |
| 113 | UseTab: Never |
| 114 | ... |