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: |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -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 |
| 32 | BeforeCatch: true |
| 33 | BeforeElse: true |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 34 | IndentBraces: false |
| 35 | BreakBeforeBinaryOperators: None |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 36 | BreakBeforeBraces: Custom |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 37 | BreakBeforeTernaryOperators: true |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 38 | BreakConstructorInitializers: AfterColon |
Ed Tanous | 1ccd57c | 2017-03-21 13:15:58 -0700 | [diff] [blame] | 39 | ColumnLimit: 80 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 40 | CommentPragmas: '^ IWYU pragma:' |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 41 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 42 | ConstructorInitializerIndentWidth: 4 |
| 43 | ContinuationIndentWidth: 4 |
| 44 | Cpp11BracedListStyle: true |
| 45 | DerivePointerAlignment: true |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 46 | PointerAlignment: Left |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 47 | DisableFormat: false |
| 48 | ExperimentalAutoDetectBinPacking: false |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 49 | FixNamespaceComments: true |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 50 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 51 | IncludeBlocks: Regroup |
Ed Tanous | 55c7b7a | 2018-05-22 15:27:24 -0700 | [diff] [blame] | 52 | IncludeCategories: |
Ed Tanous | 9140a67 | 2017-04-24 17:01:32 -0700 | [diff] [blame] | 53 | - Regex: '^[<"](gtest|gmock)' |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 54 | Priority: 5 |
| 55 | - Regex: '^"config.h"' |
| 56 | Priority: -1 |
| 57 | - Regex: '^".*\.hpp"' |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 58 | Priority: 1 |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 59 | - Regex: '^<.*\.h>' |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 60 | Priority: 2 |
Ed Tanous | 9140a67 | 2017-04-24 17:01:32 -0700 | [diff] [blame] | 61 | - Regex: '^<.*' |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 62 | Priority: 3 |
Ed Tanous | 9140a67 | 2017-04-24 17:01:32 -0700 | [diff] [blame] | 63 | - Regex: '.*' |
| 64 | Priority: 4 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 65 | IndentCaseLabels: true |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 66 | IndentWidth: 4 |
| 67 | IndentWrappedFunctionNames: true |
| 68 | KeepEmptyLinesAtTheStartOfBlocks: true |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 69 | MacroBlockBegin: '' |
| 70 | MacroBlockEnd: '' |
| 71 | MaxEmptyLinesToKeep: 1 |
| 72 | NamespaceIndentation: None |
| 73 | ObjCBlockIndentWidth: 2 |
| 74 | ObjCSpaceAfterProperty: false |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 75 | ObjCSpaceBeforeProtocolList: true |
| 76 | PenaltyBreakBeforeFirstCallParameter: 19 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 77 | PenaltyBreakComment: 300 |
| 78 | PenaltyBreakFirstLessLess: 120 |
| 79 | PenaltyBreakString: 1000 |
| 80 | PenaltyExcessCharacter: 1000000 |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 81 | PenaltyReturnTypeOnItsOwnLine: 60 |
| 82 | PointerAlignment: Right |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 83 | ReflowComments: true |
Ed Tanous | 1ff4878 | 2017-04-18 12:45:08 -0700 | [diff] [blame] | 84 | SortIncludes: true |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 85 | SpaceAfterCStyleCast: false |
| 86 | SpaceBeforeAssignmentOperators: true |
| 87 | SpaceBeforeParens: ControlStatements |
| 88 | SpaceInEmptyParentheses: false |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 89 | SpacesBeforeTrailingComments: 1 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 90 | SpacesInAngles: false |
| 91 | SpacesInContainerLiterals: true |
| 92 | SpacesInCStyleCastParentheses: false |
| 93 | SpacesInParentheses: false |
| 94 | SpacesInSquareBrackets: false |
Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 95 | Standard: Cpp11 |
| 96 | TabWidth: 4 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 97 | UseTab: Never |
| 98 | ... |