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