Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 1 | --- |
| 2 | Language: Cpp |
| 3 | # BasedOnStyle: Google |
| 4 | AccessModifierOffset: -1 |
| 5 | AlignAfterOpenBracket: Align |
| 6 | AlignConsecutiveAssignments: false |
| 7 | AlignConsecutiveDeclarations: false |
| 8 | AlignEscapedNewlinesLeft: true |
| 9 | AlignOperands: true |
| 10 | AlignTrailingComments: true |
| 11 | AllowAllParametersOfDeclarationOnNextLine: true |
| 12 | AllowShortBlocksOnASingleLine: false |
| 13 | AllowShortCaseLabelsOnASingleLine: false |
| 14 | AllowShortFunctionsOnASingleLine: All |
| 15 | AllowShortIfStatementsOnASingleLine: true |
| 16 | AllowShortLoopsOnASingleLine: true |
| 17 | AlwaysBreakAfterDefinitionReturnType: None |
| 18 | AlwaysBreakAfterReturnType: None |
| 19 | AlwaysBreakBeforeMultilineStrings: true |
| 20 | AlwaysBreakTemplateDeclarations: true |
| 21 | BinPackArguments: true |
| 22 | BinPackParameters: true |
| 23 | BraceWrapping: |
| 24 | AfterClass: false |
| 25 | AfterControlStatement: false |
| 26 | AfterEnum: false |
| 27 | AfterFunction: false |
| 28 | AfterNamespace: false |
| 29 | AfterObjCDeclaration: false |
| 30 | AfterStruct: false |
| 31 | AfterUnion: false |
| 32 | BeforeCatch: false |
| 33 | BeforeElse: false |
| 34 | IndentBraces: false |
| 35 | BreakBeforeBinaryOperators: None |
| 36 | BreakBeforeBraces: Attach |
| 37 | BreakBeforeTernaryOperators: true |
| 38 | BreakConstructorInitializersBeforeComma: false |
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:' |
| 41 | ConstructorInitializerAllOnOneLineOrOnePerLine: true |
| 42 | ConstructorInitializerIndentWidth: 4 |
| 43 | ContinuationIndentWidth: 4 |
| 44 | Cpp11BracedListStyle: true |
| 45 | DerivePointerAlignment: true |
| 46 | DisableFormat: false |
| 47 | ExperimentalAutoDetectBinPacking: false |
| 48 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| 49 | IncludeCategories: |
Ed Tanous | 9140a67 | 2017-04-24 17:01:32 -0700 | [diff] [blame] | 50 | |
| 51 | - Regex: '^[<"](crow)' |
| 52 | Priority: 5 |
| 53 | - Regex: '^[<"](boost)' |
| 54 | Priority: 6 |
| 55 | - Regex: '^[<"](gtest|gmock)' |
| 56 | Priority: 7 |
Ed Tanous | 9992332 | 2017-03-03 14:21:24 -0800 | [diff] [blame] | 57 | - Regex: '^<.*\.h>' |
| 58 | Priority: 1 |
Ed Tanous | 9140a67 | 2017-04-24 17:01:32 -0700 | [diff] [blame] | 59 | - Regex: '^<.*\.hpp>' |
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 |
| 66 | IndentWidth: 2 |
| 67 | IndentWrappedFunctionNames: false |
| 68 | KeepEmptyLinesAtTheStartOfBlocks: false |
| 69 | MacroBlockBegin: '' |
| 70 | MacroBlockEnd: '' |
| 71 | MaxEmptyLinesToKeep: 1 |
| 72 | NamespaceIndentation: None |
| 73 | ObjCBlockIndentWidth: 2 |
| 74 | ObjCSpaceAfterProperty: false |
| 75 | ObjCSpaceBeforeProtocolList: false |
| 76 | PenaltyBreakBeforeFirstCallParameter: 1 |
| 77 | PenaltyBreakComment: 300 |
| 78 | PenaltyBreakFirstLessLess: 120 |
| 79 | PenaltyBreakString: 1000 |
| 80 | PenaltyExcessCharacter: 1000000 |
| 81 | PenaltyReturnTypeOnItsOwnLine: 200 |
| 82 | PointerAlignment: Left |
| 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 |
| 89 | SpacesBeforeTrailingComments: 2 |
| 90 | SpacesInAngles: false |
| 91 | SpacesInContainerLiterals: true |
| 92 | SpacesInCStyleCastParentheses: false |
| 93 | SpacesInParentheses: false |
| 94 | SpacesInSquareBrackets: false |
| 95 | Standard: Auto |
| 96 | TabWidth: 8 |
| 97 | UseTab: Never |
| 98 | ... |
| 99 | |