blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Patrick Venture0d9377d2018-11-01 19:34:59 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
George Liu5b98f4d2022-06-20 13:31:14 +08008AlignEscapedNewlines: Right
Patrick Williams0d038f52023-05-10 07:50:40 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venture0d9377d2018-11-01 19:34:59 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams0d038f52023-05-10 07:50:40 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venture0d9377d2018-11-01 19:34:59 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams0d038f52023-05-10 07:50:40 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams61538142023-10-20 11:18:57 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Venture0d9377d2018-11-01 19:34:59 -070019AllowShortLoopsOnASingleLine: false
Patrick Venture0d9377d2018-11-01 19:34:59 -070020AlwaysBreakBeforeMultilineStrings: false
Patrick Venture0d9377d2018-11-01 19:34:59 -070021BinPackArguments: true
22BinPackParameters: true
Patrick Williams61538142023-10-20 11:18:57 -050023BitFieldColonSpacing: None
Patrick Venture0d9377d2018-11-01 19:34:59 -070024BraceWrapping:
George Liu5b98f4d2022-06-20 13:31:14 +080025 AfterCaseLabel: true
Patrick Venture0d9377d2018-11-01 19:34:59 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williams61538142023-10-20 11:18:57 -050029 AfterExternBlock: true
Patrick Venture0d9377d2018-11-01 19:34:59 -070030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williams61538142023-10-20 11:18:57 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Patrick Venture0d9377d2018-11-01 19:34:59 -070039 IndentBraces: false
George Liu5b98f4d2022-06-20 13:31:14 +080040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williams0d038f52023-05-10 07:50:40 -050043BreakAfterAttributes: Never
Patrick Williams7fcddaf2024-12-18 11:21:03 -050044BreakAfterReturnType: Automatic
Patrick Venture0d9377d2018-11-01 19:34:59 -070045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
George Liu5b98f4d2022-06-20 13:31:14 +080049BreakInheritanceList: AfterColon
50BreakStringLiterals: false
Patrick Williams7fcddaf2024-12-18 11:21:03 -050051BreakTemplateDeclarations: Yes
Patrick Venture0d9377d2018-11-01 19:34:59 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
George Liu5b98f4d2022-06-20 13:31:14 +080054CompactNamespaces: false
Patrick Venture0d9377d2018-11-01 19:34:59 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Patrick Venture0d9377d2018-11-01 19:34:59 -070059DisableFormat: false
Patrick Venture0d9377d2018-11-01 19:34:59 -070060FixNamespaceComments: true
Patrick Williams61538142023-10-20 11:18:57 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venture0d9377d2018-11-01 19:34:59 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
George Liu5b98f4d2022-06-20 13:31:14 +080068 Priority: 7
Patrick Venture0d9377d2018-11-01 19:34:59 -070069 - Regex: '^"config.h"'
70 Priority: -1
George Liu5b98f4d2022-06-20 13:31:14 +080071 - Regex: '^".*\.h"'
Patrick Venture0d9377d2018-11-01 19:34:59 -070072 Priority: 1
George Liu5b98f4d2022-06-20 13:31:14 +080073 - Regex: '^".*\.hpp"'
Patrick Venture0d9377d2018-11-01 19:34:59 -070074 Priority: 2
George Liu5b98f4d2022-06-20 13:31:14 +080075 - Regex: '^<.*\.h>'
Patrick Venture0d9377d2018-11-01 19:34:59 -070076 Priority: 3
George Liu5b98f4d2022-06-20 13:31:14 +080077 - Regex: '^<.*\.hpp>'
Patrick Venture0d9377d2018-11-01 19:34:59 -070078 Priority: 4
George Liu5b98f4d2022-06-20 13:31:14 +080079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Venture0d9377d2018-11-01 19:34:59 -070083IndentCaseLabels: true
Patrick Williams61538142023-10-20 11:18:57 -050084IndentExternBlock: NoIndent
Patrick Williams0d038f52023-05-10 07:50:40 -050085IndentRequiresClause: true
Patrick Venture0d9377d2018-11-01 19:34:59 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams0d038f52023-05-10 07:50:40 -050088InsertNewlineAtEOF: true
George Liu5b98f4d2022-06-20 13:31:14 +080089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsd36b6b12024-08-16 15:20:34 -040090LambdaBodyIndentation: Signature
Patrick Williams0d038f52023-05-10 07:50:40 -050091LineEnding: LF
Patrick Venture0d9377d2018-11-01 19:34:59 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams61538142023-10-20 11:18:57 -050099PackConstructorInitializers: BinPack
Patrick Williams0d038f52023-05-10 07:50:40 -0500100PenaltyBreakAssignment: 25
Patrick Williamsd36b6b12024-08-16 15:20:34 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Patrick Venture0d9377d2018-11-01 19:34:59 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsd36b6b12024-08-16 15:20:34 -0400105PenaltyBreakTemplateDeclaration: 10
Patrick Venture0d9377d2018-11-01 19:34:59 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsd36b6b12024-08-16 15:20:34 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams61538142023-10-20 11:18:57 -0500109PointerAlignment: Left
Patrick Williams0d038f52023-05-10 07:50:40 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Patrick Venture0d9377d2018-11-01 19:34:59 -0700112ReflowComments: true
Patrick Williams0d038f52023-05-10 07:50:40 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams61538142023-10-20 11:18:57 -0500115SortIncludes: CaseSensitive
Patrick Venture0d9377d2018-11-01 19:34:59 -0700116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
George Liu5b98f4d2022-06-20 13:31:14 +0800118SpaceAfterTemplateKeyword: true
Patrick Venture0d9377d2018-11-01 19:34:59 -0700119SpaceBeforeAssignmentOperators: true
George Liu5b98f4d2022-06-20 13:31:14 +0800120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Patrick Venture0d9377d2018-11-01 19:34:59 -0700123SpaceBeforeParens: ControlStatements
George Liu5b98f4d2022-06-20 13:31:14 +0800124SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture0d9377d2018-11-01 19:34:59 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams61538142023-10-20 11:18:57 -0500127SpacesInAngles: Never
Patrick Venture0d9377d2018-11-01 19:34:59 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
George Liu5b98f4d2022-06-20 13:31:14 +0800132Standard: Latest
Patrick Venture0d9377d2018-11-01 19:34:59 -0700133TabWidth: 4
134UseTab: Never
135...
Patrick Williams0d038f52023-05-10 07:50:40 -0500136