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