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