Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 1 | --- |
| 2 | Language: Cpp |
| 3 | # BasedOnStyle: LLVM |
| 4 | AccessModifierOffset: -2 |
| 5 | AlignAfterOpenBracket: Align |
| 6 | AlignConsecutiveAssignments: false |
| 7 | AlignConsecutiveDeclarations: false |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 8 | AlignEscapedNewlines: Right |
Patrick Williams | 857da38 | 2023-05-10 07:50:20 -0500 | [diff] [blame] | 9 | AlignOperands: Align |
| 10 | AlignTrailingComments: |
| 11 | Kind: Always |
| 12 | OverEmptyLines: 1 |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 13 | AllowAllParametersOfDeclarationOnNextLine: true |
Patrick Williams | 857da38 | 2023-05-10 07:50:20 -0500 | [diff] [blame] | 14 | AllowShortBlocksOnASingleLine: Empty |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 15 | AllowShortCaseLabelsOnASingleLine: false |
Patrick Williams | 857da38 | 2023-05-10 07:50:20 -0500 | [diff] [blame] | 16 | AllowShortFunctionsOnASingleLine: Empty |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 17 | AllowShortIfStatementsOnASingleLine: false |
| 18 | AllowShortLoopsOnASingleLine: false |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 19 | AlwaysBreakAfterReturnType: None |
| 20 | AlwaysBreakBeforeMultilineStrings: false |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 21 | AlwaysBreakTemplateDeclarations: Yes |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 22 | BinPackArguments: true |
| 23 | BinPackParameters: true |
| 24 | BraceWrapping: |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 25 | AfterCaseLabel: true |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 26 | AfterClass: true |
| 27 | AfterControlStatement: true |
| 28 | AfterEnum: true |
| 29 | AfterFunction: true |
| 30 | AfterNamespace: true |
| 31 | AfterObjCDeclaration: true |
| 32 | AfterStruct: true |
| 33 | AfterUnion: true |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 34 | AfterExternBlock: true |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 35 | BeforeCatch: true |
| 36 | BeforeElse: true |
| 37 | IndentBraces: false |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 38 | SplitEmptyFunction: false |
| 39 | SplitEmptyRecord: false |
| 40 | SplitEmptyNamespace: false |
Patrick Williams | 857da38 | 2023-05-10 07:50:20 -0500 | [diff] [blame] | 41 | BreakAfterAttributes: Never |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 42 | BreakBeforeBinaryOperators: None |
| 43 | BreakBeforeBraces: Custom |
| 44 | BreakBeforeTernaryOperators: true |
| 45 | BreakConstructorInitializers: AfterColon |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 46 | BreakInheritanceList: AfterColon |
George Liu | d870d68 | 2021-09-09 20:16:49 +0800 | [diff] [blame] | 47 | BreakStringLiterals: false |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 48 | ColumnLimit: 80 |
| 49 | CommentPragmas: '^ IWYU pragma:' |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 50 | CompactNamespaces: false |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 51 | ConstructorInitializerAllOnOneLineOrOnePerLine: false |
| 52 | ConstructorInitializerIndentWidth: 4 |
| 53 | ContinuationIndentWidth: 4 |
| 54 | Cpp11BracedListStyle: true |
George Liu | 23d5408 | 2021-12-07 11:06:33 +0800 | [diff] [blame] | 55 | DeriveLineEnding: false |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 56 | DerivePointerAlignment: false |
| 57 | PointerAlignment: Left |
| 58 | DisableFormat: false |
| 59 | ExperimentalAutoDetectBinPacking: false |
| 60 | FixNamespaceComments: true |
| 61 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| 62 | IncludeBlocks: Regroup |
| 63 | IncludeCategories: |
| 64 | - Regex: '^[<"](gtest|gmock)' |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 65 | Priority: 7 |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 66 | - Regex: '^"config.h"' |
| 67 | Priority: -1 |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 68 | - Regex: '^".*\.h"' |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 69 | Priority: 1 |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 70 | - Regex: '^".*\.hpp"' |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 71 | Priority: 2 |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 72 | - Regex: '^<.*\.h>' |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 73 | Priority: 3 |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 74 | - Regex: '^<.*\.hpp>' |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 75 | Priority: 4 |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 76 | - Regex: '^<.*' |
| 77 | Priority: 5 |
| 78 | - Regex: '.*' |
| 79 | Priority: 6 |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 80 | IndentCaseLabels: true |
George Liu | 5634c60 | 2023-07-18 09:07:11 +0800 | [diff] [blame^] | 81 | IndentExternBlock: NoIndent |
Patrick Williams | 857da38 | 2023-05-10 07:50:20 -0500 | [diff] [blame] | 82 | IndentRequiresClause: true |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 83 | IndentWidth: 4 |
| 84 | IndentWrappedFunctionNames: true |
Patrick Williams | 857da38 | 2023-05-10 07:50:20 -0500 | [diff] [blame] | 85 | InsertNewlineAtEOF: true |
George Liu | 65bf3d9 | 2022-06-07 13:43:54 +0800 | [diff] [blame] | 86 | KeepEmptyLinesAtTheStartOfBlocks: false |
Patrick Williams | 857da38 | 2023-05-10 07:50:20 -0500 | [diff] [blame] | 87 | LambdaBodyIndentation: OuterScope |
| 88 | LineEnding: LF |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 89 | MacroBlockBegin: '' |
| 90 | MacroBlockEnd: '' |
| 91 | MaxEmptyLinesToKeep: 1 |
| 92 | NamespaceIndentation: None |
| 93 | ObjCBlockIndentWidth: 2 |
| 94 | ObjCSpaceAfterProperty: false |
| 95 | ObjCSpaceBeforeProtocolList: true |
Patrick Williams | 857da38 | 2023-05-10 07:50:20 -0500 | [diff] [blame] | 96 | PenaltyBreakAssignment: 25 |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 97 | PenaltyBreakBeforeFirstCallParameter: 19 |
| 98 | PenaltyBreakComment: 300 |
| 99 | PenaltyBreakFirstLessLess: 120 |
| 100 | PenaltyBreakString: 1000 |
| 101 | PenaltyExcessCharacter: 1000000 |
| 102 | PenaltyReturnTypeOnItsOwnLine: 60 |
Patrick Williams | 857da38 | 2023-05-10 07:50:20 -0500 | [diff] [blame] | 103 | PenaltyIndentedWhitespace: 0 |
| 104 | QualifierAlignment: Left |
| 105 | ReferenceAlignment: Left |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 106 | ReflowComments: true |
Patrick Williams | 857da38 | 2023-05-10 07:50:20 -0500 | [diff] [blame] | 107 | RequiresClausePosition: OwnLine |
| 108 | RequiresExpressionIndentation: Keyword |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 109 | SortIncludes: true |
| 110 | SortUsingDeclarations: true |
| 111 | SpaceAfterCStyleCast: false |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 112 | SpaceAfterTemplateKeyword: true |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 113 | SpaceBeforeAssignmentOperators: true |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 114 | SpaceBeforeCpp11BracedList: false |
| 115 | SpaceBeforeCtorInitializerColon: true |
| 116 | SpaceBeforeInheritanceColon: true |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 117 | SpaceBeforeParens: ControlStatements |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 118 | SpaceBeforeRangeBasedForLoopColon: true |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 119 | SpaceInEmptyParentheses: false |
| 120 | SpacesBeforeTrailingComments: 1 |
| 121 | SpacesInAngles: false |
| 122 | SpacesInContainerLiterals: true |
| 123 | SpacesInCStyleCastParentheses: false |
| 124 | SpacesInParentheses: false |
| 125 | SpacesInSquareBrackets: false |
George Liu | a6c18f8 | 2020-06-22 10:50:04 +0800 | [diff] [blame] | 126 | Standard: Latest |
Patrick Venture | 91ac8d3 | 2018-11-01 17:03:22 -0700 | [diff] [blame] | 127 | TabWidth: 4 |
| 128 | UseTab: Never |
| 129 | ... |