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: |
| 23 | AfterClass: true |
| 24 | AfterControlStatement: true |
| 25 | AfterEnum: true |
| 26 | AfterFunction: true |
| 27 | AfterNamespace: true |
| 28 | AfterObjCDeclaration: true |
| 29 | AfterStruct: true |
| 30 | AfterUnion: true |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 31 | AfterExternBlock: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 32 | BeforeCatch: true |
| 33 | BeforeElse: true |
| 34 | IndentBraces: false |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 35 | SplitEmptyFunction: true |
| 36 | SplitEmptyRecord: true |
| 37 | SplitEmptyNamespace: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 38 | BreakBeforeBinaryOperators: None |
| 39 | BreakBeforeBraces: Custom |
| 40 | BreakBeforeTernaryOperators: true |
| 41 | BreakConstructorInitializers: AfterColon |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 42 | BreakInheritanceList: AfterColon |
| 43 | BreakStringLiterals: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 44 | ColumnLimit: 80 |
| 45 | CommentPragmas: '^ IWYU pragma:' |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 46 | CompactNamespaces: false |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 47 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 48 | ConstructorInitializerIndentWidth: 4 |
| 49 | ContinuationIndentWidth: 4 |
| 50 | Cpp11BracedListStyle: true |
| 51 | DerivePointerAlignment: false |
| 52 | PointerAlignment: Left |
| 53 | DisableFormat: false |
| 54 | ExperimentalAutoDetectBinPacking: false |
| 55 | FixNamespaceComments: true |
| 56 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| 57 | IncludeBlocks: Regroup |
| 58 | IncludeCategories: |
| 59 | - Regex: '^[<"](gtest|gmock)' |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 60 | Priority: 7 |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 61 | - Regex: '^"config.h"' |
| 62 | Priority: -1 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 63 | - Regex: '^".*\.h"' |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 64 | Priority: 1 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 65 | - Regex: '^".*\.hpp"' |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 66 | Priority: 2 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 67 | - Regex: '^<.*\.h>' |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 68 | Priority: 3 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 69 | - Regex: '^<.*\.hpp>' |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 70 | Priority: 4 |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 71 | - Regex: '^<.*' |
| 72 | Priority: 5 |
| 73 | - Regex: '.*' |
| 74 | Priority: 6 |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 75 | IndentCaseLabels: true |
| 76 | IndentWidth: 4 |
| 77 | IndentWrappedFunctionNames: true |
| 78 | KeepEmptyLinesAtTheStartOfBlocks: true |
| 79 | MacroBlockBegin: '' |
| 80 | MacroBlockEnd: '' |
| 81 | MaxEmptyLinesToKeep: 1 |
| 82 | NamespaceIndentation: None |
| 83 | ObjCBlockIndentWidth: 2 |
| 84 | ObjCSpaceAfterProperty: false |
| 85 | ObjCSpaceBeforeProtocolList: true |
| 86 | PenaltyBreakBeforeFirstCallParameter: 19 |
| 87 | PenaltyBreakComment: 300 |
| 88 | PenaltyBreakFirstLessLess: 120 |
| 89 | PenaltyBreakString: 1000 |
| 90 | PenaltyExcessCharacter: 1000000 |
| 91 | PenaltyReturnTypeOnItsOwnLine: 60 |
| 92 | ReflowComments: true |
| 93 | SortIncludes: true |
| 94 | SortUsingDeclarations: true |
| 95 | SpaceAfterCStyleCast: false |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 96 | SpaceAfterTemplateKeyword: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 97 | SpaceBeforeAssignmentOperators: true |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 98 | SpaceBeforeCpp11BracedList: false |
| 99 | SpaceBeforeCtorInitializerColon: true |
| 100 | SpaceBeforeInheritanceColon: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 101 | SpaceBeforeParens: ControlStatements |
Brandon Wyman | d1bc4ce | 2019-12-13 14:20:34 -0600 | [diff] [blame^] | 102 | SpaceBeforeRangeBasedForLoopColon: true |
Matt Spinler | f0f02b9 | 2018-10-25 16:12:43 -0500 | [diff] [blame] | 103 | SpaceInEmptyParentheses: false |
| 104 | SpacesBeforeTrailingComments: 1 |
| 105 | SpacesInAngles: false |
| 106 | SpacesInContainerLiterals: true |
| 107 | SpacesInCStyleCastParentheses: false |
| 108 | SpacesInParentheses: false |
| 109 | SpacesInSquareBrackets: false |
| 110 | Standard: Cpp11 |
| 111 | TabWidth: 4 |
| 112 | UseTab: Never |
| 113 | ... |