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