James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 1 | --- |
| 2 | Language: Cpp |
| 3 | # BasedOnStyle: Google |
James Zern | a3a70c3 | 2017-08-27 18:31:05 -0700 | [diff] [blame] | 4 | # Generated with clang-format 4.0.1 |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 5 | AccessModifierOffset: -1 |
James Zern | 964a717 | 2016-09-07 20:56:01 -0700 | [diff] [blame] | 6 | AlignAfterOpenBracket: Align |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 7 | AlignConsecutiveAssignments: false |
James Zern | 964a717 | 2016-09-07 20:56:01 -0700 | [diff] [blame] | 8 | AlignConsecutiveDeclarations: false |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 9 | AlignEscapedNewlinesLeft: true |
| 10 | AlignOperands: true |
| 11 | AlignTrailingComments: true |
| 12 | AllowAllParametersOfDeclarationOnNextLine: true |
| 13 | AllowShortBlocksOnASingleLine: false |
| 14 | AllowShortCaseLabelsOnASingleLine: true |
| 15 | AllowShortFunctionsOnASingleLine: All |
| 16 | AllowShortIfStatementsOnASingleLine: true |
| 17 | AllowShortLoopsOnASingleLine: true |
| 18 | AlwaysBreakAfterDefinitionReturnType: None |
James Zern | 964a717 | 2016-09-07 20:56:01 -0700 | [diff] [blame] | 19 | AlwaysBreakAfterReturnType: None |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 20 | AlwaysBreakBeforeMultilineStrings: true |
| 21 | AlwaysBreakTemplateDeclarations: true |
| 22 | BinPackArguments: true |
| 23 | BinPackParameters: true |
James Zern | 964a717 | 2016-09-07 20:56:01 -0700 | [diff] [blame] | 24 | BraceWrapping: |
| 25 | AfterClass: false |
| 26 | AfterControlStatement: false |
| 27 | AfterEnum: false |
| 28 | AfterFunction: false |
| 29 | AfterNamespace: false |
| 30 | AfterObjCDeclaration: false |
| 31 | AfterStruct: false |
| 32 | AfterUnion: false |
| 33 | BeforeCatch: false |
| 34 | BeforeElse: false |
| 35 | IndentBraces: false |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 36 | BreakBeforeBinaryOperators: None |
| 37 | BreakBeforeBraces: Attach |
| 38 | BreakBeforeTernaryOperators: true |
| 39 | BreakConstructorInitializersBeforeComma: false |
James Zern | c107183 | 2017-01-31 20:07:09 -0800 | [diff] [blame] | 40 | BreakAfterJavaFieldAnnotations: false |
| 41 | BreakStringLiterals: true |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 42 | ColumnLimit: 80 |
| 43 | CommentPragmas: '^ IWYU pragma:' |
| 44 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 45 | ConstructorInitializerIndentWidth: 4 |
| 46 | ContinuationIndentWidth: 4 |
| 47 | Cpp11BracedListStyle: false |
James Zern | 725f7f9 | 2016-07-26 16:34:54 -0700 | [diff] [blame] | 48 | DerivePointerAlignment: false |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 49 | DisableFormat: false |
| 50 | ExperimentalAutoDetectBinPacking: false |
| 51 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
James Zern | 964a717 | 2016-09-07 20:56:01 -0700 | [diff] [blame] | 52 | IncludeCategories: |
| 53 | - Regex: '^<.*\.h>' |
| 54 | Priority: 1 |
| 55 | - Regex: '^<.*' |
| 56 | Priority: 2 |
| 57 | - Regex: '.*' |
| 58 | Priority: 3 |
James Zern | c107183 | 2017-01-31 20:07:09 -0800 | [diff] [blame] | 59 | IncludeIsMainRegex: '([-_](test|unittest))?$' |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 60 | IndentCaseLabels: true |
| 61 | IndentWidth: 2 |
| 62 | IndentWrappedFunctionNames: false |
James Zern | a3a70c3 | 2017-08-27 18:31:05 -0700 | [diff] [blame] | 63 | JavaScriptQuotes: Leave |
| 64 | JavaScriptWrapImports: true |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 65 | KeepEmptyLinesAtTheStartOfBlocks: false |
| 66 | MacroBlockBegin: '' |
| 67 | MacroBlockEnd: '' |
| 68 | MaxEmptyLinesToKeep: 1 |
| 69 | NamespaceIndentation: None |
| 70 | ObjCBlockIndentWidth: 2 |
| 71 | ObjCSpaceAfterProperty: false |
| 72 | ObjCSpaceBeforeProtocolList: false |
| 73 | PenaltyBreakBeforeFirstCallParameter: 1 |
| 74 | PenaltyBreakComment: 300 |
| 75 | PenaltyBreakFirstLessLess: 120 |
| 76 | PenaltyBreakString: 1000 |
| 77 | PenaltyExcessCharacter: 1000000 |
| 78 | PenaltyReturnTypeOnItsOwnLine: 200 |
| 79 | PointerAlignment: Right |
James Zern | 964a717 | 2016-09-07 20:56:01 -0700 | [diff] [blame] | 80 | ReflowComments: true |
| 81 | SortIncludes: false |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 82 | SpaceAfterCStyleCast: false |
James Zern | a3a70c3 | 2017-08-27 18:31:05 -0700 | [diff] [blame] | 83 | SpaceAfterTemplateKeyword: true |
James Zern | e96c20b | 2016-07-14 15:18:30 -0700 | [diff] [blame] | 84 | SpaceBeforeAssignmentOperators: true |
| 85 | SpaceBeforeParens: ControlStatements |
| 86 | SpaceInEmptyParentheses: false |
| 87 | SpacesBeforeTrailingComments: 2 |
| 88 | SpacesInAngles: false |
| 89 | SpacesInContainerLiterals: true |
| 90 | SpacesInCStyleCastParentheses: false |
| 91 | SpacesInParentheses: false |
| 92 | SpacesInSquareBrackets: false |
| 93 | Standard: Auto |
| 94 | TabWidth: 8 |
| 95 | UseTab: Never |
| 96 | ... |
| 97 | |