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