Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 1 | --- |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 2 | Language: Cpp |
| 3 | # BasedOnStyle: LLVM |
| 4 | AccessModifierOffset: -2 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 5 | AlignAfterOpenBracket: Align |
| 6 | AlignConsecutiveAssignments: false |
| 7 | AlignConsecutiveDeclarations: false |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 8 | AlignEscapedNewlinesLeft: false |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 9 | AlignOperands: true |
| 10 | AlignTrailingComments: true |
| 11 | AllowAllParametersOfDeclarationOnNextLine: true |
| 12 | AllowShortBlocksOnASingleLine: false |
| 13 | AllowShortCaseLabelsOnASingleLine: false |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 14 | AllowShortFunctionsOnASingleLine: None |
| 15 | AllowShortIfStatementsOnASingleLine: false |
| 16 | AllowShortLoopsOnASingleLine: false |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 17 | AlwaysBreakAfterDefinitionReturnType: None |
| 18 | AlwaysBreakAfterReturnType: None |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 19 | AlwaysBreakBeforeMultilineStrings: false |
| 20 | AlwaysBreakTemplateDeclarations: false |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 21 | BinPackArguments: true |
| 22 | BinPackParameters: true |
Ed Tanous | 55c7b7a | 2018-05-22 15:27:24 -0700 | [diff] [blame] | 23 | BraceWrapping: |
Gunnar Mills | 54f7dda | 2020-05-22 09:45:53 -0500 | [diff] [blame] | 24 | AfterCaseLabel: true |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 25 | AfterClass: true |
| 26 | AfterControlStatement: true |
| 27 | AfterEnum: true |
| 28 | AfterFunction: true |
| 29 | AfterNamespace: true |
| 30 | AfterObjCDeclaration: true |
| 31 | AfterStruct: true |
| 32 | AfterUnion: true |
| 33 | BeforeCatch: true |
| 34 | BeforeElse: true |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 35 | IndentBraces: false |
| 36 | BreakBeforeBinaryOperators: None |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 37 | BreakBeforeBraces: Custom |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 38 | BreakBeforeTernaryOperators: true |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 39 | BreakConstructorInitializers: AfterColon |
Ed Tanous | 1ccd57c | 2017-03-21 13:15:58 -0700 | [diff] [blame] | 40 | ColumnLimit: 80 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 41 | CommentPragmas: '^ IWYU pragma:' |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 42 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 43 | ConstructorInitializerIndentWidth: 4 |
| 44 | ContinuationIndentWidth: 4 |
| 45 | Cpp11BracedListStyle: true |
| 46 | DerivePointerAlignment: true |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 47 | PointerAlignment: Left |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 48 | DisableFormat: false |
| 49 | ExperimentalAutoDetectBinPacking: false |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 50 | FixNamespaceComments: true |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 51 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 52 | IncludeBlocks: Regroup |
Ed Tanous | 55c7b7a | 2018-05-22 15:27:24 -0700 | [diff] [blame] | 53 | IncludeCategories: |
Ed Tanous | 9140a67 | 2017-04-24 17:01:32 -0700 | [diff] [blame] | 54 | - Regex: '^[<"](gtest|gmock)' |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 55 | Priority: 5 |
| 56 | - Regex: '^"config.h"' |
| 57 | Priority: -1 |
| 58 | - Regex: '^".*\.hpp"' |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 59 | Priority: 1 |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 60 | - Regex: '^<.*\.h>' |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 61 | Priority: 2 |
Ed Tanous | 9140a67 | 2017-04-24 17:01:32 -0700 | [diff] [blame] | 62 | - Regex: '^<.*' |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 63 | Priority: 3 |
Ed Tanous | 9140a67 | 2017-04-24 17:01:32 -0700 | [diff] [blame] | 64 | - Regex: '.*' |
| 65 | Priority: 4 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 66 | IndentCaseLabels: true |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 67 | IndentWidth: 4 |
| 68 | IndentWrappedFunctionNames: true |
| 69 | KeepEmptyLinesAtTheStartOfBlocks: true |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 70 | MacroBlockBegin: '' |
| 71 | MacroBlockEnd: '' |
| 72 | MaxEmptyLinesToKeep: 1 |
| 73 | NamespaceIndentation: None |
| 74 | ObjCBlockIndentWidth: 2 |
| 75 | ObjCSpaceAfterProperty: false |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 76 | ObjCSpaceBeforeProtocolList: true |
| 77 | PenaltyBreakBeforeFirstCallParameter: 19 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 78 | PenaltyBreakComment: 300 |
| 79 | PenaltyBreakFirstLessLess: 120 |
| 80 | PenaltyBreakString: 1000 |
| 81 | PenaltyExcessCharacter: 1000000 |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 82 | PenaltyReturnTypeOnItsOwnLine: 60 |
| 83 | PointerAlignment: Right |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 84 | ReflowComments: true |
Ed Tanous | 1ff4878 | 2017-04-18 12:45:08 -0700 | [diff] [blame] | 85 | SortIncludes: true |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 86 | SpaceAfterCStyleCast: false |
| 87 | SpaceBeforeAssignmentOperators: true |
| 88 | SpaceBeforeParens: ControlStatements |
| 89 | SpaceInEmptyParentheses: false |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 90 | SpacesBeforeTrailingComments: 1 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 91 | SpacesInAngles: false |
| 92 | SpacesInContainerLiterals: true |
| 93 | SpacesInCStyleCastParentheses: false |
| 94 | SpacesInParentheses: false |
| 95 | SpacesInSquareBrackets: false |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 96 | Standard: Cpp11 |
| 97 | TabWidth: 4 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 98 | UseTab: Never |
| 99 | ... |