blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Haiyue Wanga1c50752018-04-03 15:16:09 +08001---
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -07002Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -07008AlignEscapedNewlines: Right
Patrick Williams43c83c52023-05-10 07:51:01 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams43c83c52023-05-10 07:51:01 -050014AllowShortBlocksOnASingleLine: Empty
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams43c83c52023-05-10 07:51:01 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsbe4d9e72023-10-20 11:19:24 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Haiyue Wanga1c50752018-04-03 15:16:09 +080019AllowShortLoopsOnASingleLine: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -070022AlwaysBreakTemplateDeclarations: Yes
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070023BinPackArguments: true
24BinPackParameters: true
Patrick Williamsbe4d9e72023-10-20 11:19:24 -050025BitFieldColonSpacing: None
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070026BraceWrapping:
William A. Kennington III4f5ba642021-05-11 16:01:53 -070027 AfterCaseLabel: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williamsbe4d9e72023-10-20 11:19:24 -050031 AfterExternBlock: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williamsbe4d9e72023-10-20 11:19:24 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070041 IndentBraces: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -070042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams43c83c52023-05-10 07:51:01 -050045BreakAfterAttributes: Never
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
William A. Kennington III4f5ba642021-05-11 16:01:53 -070050BreakInheritanceList: AfterColon
Patrick Williams43c83c52023-05-10 07:51:01 -050051BreakStringLiterals: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
William A. Kennington III4f5ba642021-05-11 16:01:53 -070054CompactNamespaces: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070059DisableFormat: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070060FixNamespaceComments: true
Patrick Williamsbe4d9e72023-10-20 11:19:24 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
William A. Kennington III4f5ba642021-05-11 16:01:53 -070068 Priority: 7
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070069 - Regex: '^"config.h"'
70 Priority: -1
William A. Kennington III4f5ba642021-05-11 16:01:53 -070071 - Regex: '^".*\.h"'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070072 Priority: 1
William A. Kennington III4f5ba642021-05-11 16:01:53 -070073 - Regex: '^".*\.hpp"'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070074 Priority: 2
William A. Kennington III4f5ba642021-05-11 16:01:53 -070075 - Regex: '^<.*\.h>'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070076 Priority: 3
William A. Kennington III4f5ba642021-05-11 16:01:53 -070077 - Regex: '^<.*\.hpp>'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070078 Priority: 4
William A. Kennington III4f5ba642021-05-11 16:01:53 -070079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070083IndentCaseLabels: true
Patrick Williamsbe4d9e72023-10-20 11:19:24 -050084IndentExternBlock: NoIndent
Patrick Williams43c83c52023-05-10 07:51:01 -050085IndentRequiresClause: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams43c83c52023-05-10 07:51:01 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
90LambdaBodyIndentation: OuterScope
91LineEnding: LF
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsbe4d9e72023-10-20 11:19:24 -050099PackConstructorInitializers: BinPack
Patrick Williams43c83c52023-05-10 07:51:01 -0500100PenaltyBreakAssignment: 25
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams43c83c52023-05-10 07:51:01 -0500107PenaltyIndentedWhitespace: 0
Patrick Williamsbe4d9e72023-10-20 11:19:24 -0500108PointerAlignment: Left
Patrick Williams43c83c52023-05-10 07:51:01 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700111ReflowComments: true
Patrick Williams43c83c52023-05-10 07:51:01 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williamsbe4d9e72023-10-20 11:19:24 -0500114SortIncludes: CaseSensitive
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700115SortUsingDeclarations: true
Haiyue Wanga1c50752018-04-03 15:16:09 +0800116SpaceAfterCStyleCast: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700117SpaceAfterTemplateKeyword: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700118SpaceBeforeAssignmentOperators: true
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700122SpaceBeforeParens: ControlStatements
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700123SpaceBeforeRangeBasedForLoopColon: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williamsbe4d9e72023-10-20 11:19:24 -0500126SpacesInAngles: Never
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700131Standard: Latest
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700132TabWidth: 4
133UseTab: Never
134...
Haiyue Wanga1c50752018-04-03 15:16:09 +0800135