Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 1 | --- |
| 2 | Language: Cpp |
| 3 | # BasedOnStyle: LLVM |
| 4 | AccessModifierOffset: -2 |
| 5 | AlignAfterOpenBracket: Align |
| 6 | AlignConsecutiveAssignments: false |
| 7 | AlignConsecutiveDeclarations: false |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 8 | AlignEscapedNewlines: Right |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 9 | AlignOperands: true |
| 10 | AlignTrailingComments: true |
| 11 | AllowAllParametersOfDeclarationOnNextLine: true |
| 12 | AllowShortBlocksOnASingleLine: false |
| 13 | AllowShortCaseLabelsOnASingleLine: false |
| 14 | AllowShortFunctionsOnASingleLine: None |
| 15 | AllowShortIfStatementsOnASingleLine: false |
| 16 | AllowShortLoopsOnASingleLine: false |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 17 | AlwaysBreakAfterReturnType: None |
| 18 | AlwaysBreakBeforeMultilineStrings: false |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 19 | AlwaysBreakTemplateDeclarations: Yes |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 20 | BinPackArguments: true |
| 21 | BinPackParameters: true |
| 22 | BraceWrapping: |
| 23 | AfterClass: true |
| 24 | AfterControlStatement: true |
| 25 | AfterEnum: true |
| 26 | AfterFunction: true |
| 27 | AfterNamespace: true |
| 28 | AfterObjCDeclaration: true |
| 29 | AfterStruct: true |
| 30 | AfterUnion: true |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 31 | AfterExternBlock: true |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 32 | BeforeCatch: true |
| 33 | BeforeElse: true |
| 34 | IndentBraces: false |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 35 | SplitEmptyFunction: false |
| 36 | SplitEmptyRecord: false |
| 37 | SplitEmptyNamespace: false |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 38 | BreakBeforeBinaryOperators: None |
| 39 | BreakBeforeBraces: Custom |
| 40 | BreakBeforeTernaryOperators: true |
| 41 | BreakConstructorInitializers: AfterColon |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 42 | BreakInheritanceList: AfterColon |
| 43 | BreakStringLiterals: true |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 44 | ColumnLimit: 80 |
| 45 | CommentPragmas: '^ IWYU pragma:' |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 46 | CompactNamespaces: false |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 47 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 48 | ConstructorInitializerIndentWidth: 4 |
| 49 | ContinuationIndentWidth: 4 |
| 50 | Cpp11BracedListStyle: true |
| 51 | DerivePointerAlignment: false |
| 52 | PointerAlignment: Left |
| 53 | DisableFormat: false |
| 54 | ExperimentalAutoDetectBinPacking: false |
| 55 | FixNamespaceComments: true |
| 56 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| 57 | IncludeBlocks: Regroup |
| 58 | IncludeCategories: |
| 59 | - Regex: '^[<"](gtest|gmock)' |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 60 | Priority: 7 |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 61 | - Regex: '^"config.h"' |
| 62 | Priority: -1 |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 63 | - Regex: '^".*\.h"' |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 64 | Priority: 1 |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 65 | - Regex: '^".*\.hpp"' |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 66 | Priority: 2 |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 67 | - Regex: '^<.*\.h>' |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 68 | Priority: 3 |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 69 | - Regex: '^<.*\.hpp>' |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 70 | Priority: 4 |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 71 | - Regex: '^<.*' |
| 72 | Priority: 5 |
| 73 | - Regex: '.*' |
| 74 | Priority: 6 |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 75 | IndentCaseLabels: true |
| 76 | IndentWidth: 4 |
| 77 | IndentWrappedFunctionNames: true |
| 78 | KeepEmptyLinesAtTheStartOfBlocks: true |
| 79 | MacroBlockBegin: '' |
| 80 | MacroBlockEnd: '' |
| 81 | MaxEmptyLinesToKeep: 1 |
| 82 | NamespaceIndentation: None |
| 83 | ObjCBlockIndentWidth: 2 |
| 84 | ObjCSpaceAfterProperty: false |
| 85 | ObjCSpaceBeforeProtocolList: true |
| 86 | PenaltyBreakBeforeFirstCallParameter: 19 |
| 87 | PenaltyBreakComment: 300 |
| 88 | PenaltyBreakFirstLessLess: 120 |
| 89 | PenaltyBreakString: 1000 |
| 90 | PenaltyExcessCharacter: 1000000 |
| 91 | PenaltyReturnTypeOnItsOwnLine: 60 |
| 92 | ReflowComments: true |
| 93 | SortIncludes: true |
| 94 | SortUsingDeclarations: true |
| 95 | SpaceAfterCStyleCast: false |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 96 | SpaceAfterTemplateKeyword: true |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 97 | SpaceBeforeAssignmentOperators: true |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 98 | SpaceBeforeCpp11BracedList: false |
| 99 | SpaceBeforeCtorInitializerColon: true |
| 100 | SpaceBeforeInheritanceColon: true |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 101 | SpaceBeforeParens: ControlStatements |
Zane Shelley | 9a71ea1 | 2019-10-29 11:16:13 -0500 | [diff] [blame] | 102 | SpaceBeforeRangeBasedForLoopColon: true |
Patrick Venture | 0dcc430 | 2018-09-24 10:39:54 -0700 | [diff] [blame] | 103 | SpaceInEmptyParentheses: false |
| 104 | SpacesBeforeTrailingComments: 1 |
| 105 | SpacesInAngles: false |
| 106 | SpacesInContainerLiterals: true |
| 107 | SpacesInCStyleCastParentheses: false |
| 108 | SpacesInParentheses: false |
| 109 | SpacesInSquareBrackets: false |
| 110 | Standard: Cpp11 |
| 111 | TabWidth: 4 |
| 112 | UseTab: Never |
| 113 | ... |
| 114 | |