Andrew Jeffery | f34db31 | 2018-03-09 15:27:03 +1030 | [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 |
William A. Kennington III | d5f1d40 | 2018-10-11 13:55:04 -0700 | [diff] [blame] | 20 | AlwaysBreakTemplateDeclarations: true |
Andrew Jeffery | f34db31 | 2018-03-09 15:27:03 +1030 | [diff] [blame] | 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 |
William A. Kennington III | d5f1d40 | 2018-10-11 13:55:04 -0700 | [diff] [blame] | 45 | DerivePointerAlignment: false |
Andrew Jeffery | f34db31 | 2018-03-09 15:27:03 +1030 | [diff] [blame] | 46 | PointerAlignment: Left |
| 47 | DisableFormat: false |
| 48 | ExperimentalAutoDetectBinPacking: false |
| 49 | FixNamespaceComments: true |
| 50 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
William A. Kennington III | d5f1d40 | 2018-10-11 13:55:04 -0700 | [diff] [blame] | 51 | IncludeBlocks: Regroup |
| 52 | IncludeCategories: |
| 53 | - Regex: '^[<"](gtest|gmock)' |
| 54 | Priority: 5 |
| 55 | - Regex: '^"config.h"' |
| 56 | Priority: -1 |
| 57 | - Regex: '^".*\.hpp"' |
| 58 | Priority: 1 |
| 59 | - Regex: '^<.*\.h>' |
| 60 | Priority: 2 |
| 61 | - Regex: '^<.*' |
| 62 | Priority: 3 |
| 63 | - Regex: '.*' |
| 64 | Priority: 4 |
Andrew Jeffery | f34db31 | 2018-03-09 15:27:03 +1030 | [diff] [blame] | 65 | IndentCaseLabels: true |
| 66 | IndentWidth: 4 |
William A. Kennington III | d5f1d40 | 2018-10-11 13:55:04 -0700 | [diff] [blame] | 67 | IndentWrappedFunctionNames: true |
Andrew Jeffery | f34db31 | 2018-03-09 15:27:03 +1030 | [diff] [blame] | 68 | KeepEmptyLinesAtTheStartOfBlocks: true |
| 69 | MacroBlockBegin: '' |
| 70 | MacroBlockEnd: '' |
| 71 | MaxEmptyLinesToKeep: 1 |
| 72 | NamespaceIndentation: None |
| 73 | ObjCBlockIndentWidth: 2 |
| 74 | ObjCSpaceAfterProperty: false |
| 75 | ObjCSpaceBeforeProtocolList: true |
| 76 | PenaltyBreakBeforeFirstCallParameter: 19 |
| 77 | PenaltyBreakComment: 300 |
| 78 | PenaltyBreakFirstLessLess: 120 |
| 79 | PenaltyBreakString: 1000 |
| 80 | PenaltyExcessCharacter: 1000000 |
| 81 | PenaltyReturnTypeOnItsOwnLine: 60 |
Andrew Jeffery | f34db31 | 2018-03-09 15:27:03 +1030 | [diff] [blame] | 82 | ReflowComments: true |
William A. Kennington III | d5f1d40 | 2018-10-11 13:55:04 -0700 | [diff] [blame] | 83 | SortIncludes: true |
| 84 | SortUsingDeclarations: true |
Andrew Jeffery | f34db31 | 2018-03-09 15:27:03 +1030 | [diff] [blame] | 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 | ... |
| 99 | |