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