blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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
Patrick Williams4bf990a2024-08-16 15:21:15 -040090LambdaBodyIndentation: Signature
Patrick Williams43c83c52023-05-10 07:51:01 -050091LineEnding: 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
Patrick Williams4bf990a2024-08-16 15:21:15 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams4bf990a2024-08-16 15:21:15 -0400105PenaltyBreakTemplateDeclaration: 10
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams4bf990a2024-08-16 15:21:15 -0400108PenaltyIndentedWhitespace: 1
Patrick Williamsbe4d9e72023-10-20 11:19:24 -0500109PointerAlignment: Left
Patrick Williams43c83c52023-05-10 07:51:01 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700112ReflowComments: true
Patrick Williams43c83c52023-05-10 07:51:01 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williamsbe4d9e72023-10-20 11:19:24 -0500115SortIncludes: CaseSensitive
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700116SortUsingDeclarations: true
Haiyue Wanga1c50752018-04-03 15:16:09 +0800117SpaceAfterCStyleCast: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700118SpaceAfterTemplateKeyword: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700119SpaceBeforeAssignmentOperators: true
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700123SpaceBeforeParens: ControlStatements
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700124SpaceBeforeRangeBasedForLoopColon: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamsbe4d9e72023-10-20 11:19:24 -0500127SpacesInAngles: Never
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700132Standard: Latest
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700133TabWidth: 4
134UseTab: Never
135...
Haiyue Wanga1c50752018-04-03 15:16:09 +0800136