blob: a75a2c266137ca6c7017f3d8710a60d81c5aa7ee [file] [log] [blame]
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +05301---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams9638afb2021-02-22 17:16:24 -06008AlignEscapedNewlines: Right
Patrick Williamsb7043042023-05-10 07:50:52 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsb7043042023-05-10 07:50:52 -050014AllowShortBlocksOnASingleLine: Empty
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsb7043042023-05-10 07:50:52 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamscb20ea82023-10-20 11:19:13 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053019AllowShortLoopsOnASingleLine: false
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053020AlwaysBreakBeforeMultilineStrings: false
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053021BinPackArguments: true
22BinPackParameters: true
Patrick Williamscb20ea82023-10-20 11:19:13 -050023BitFieldColonSpacing: None
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053024BraceWrapping:
Richard Marian Thomaiyar6ee466b2020-05-28 15:40:48 +053025 AfterCaseLabel: true
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
Patrick Williamscb20ea82023-10-20 11:19:13 -050029 AfterExternBlock: true
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053030 AfterFunction: true
31 AfterNamespace: true
32 AfterObjCDeclaration: true
33 AfterStruct: true
34 AfterUnion: true
35 BeforeCatch: true
36 BeforeElse: true
Patrick Williamscb20ea82023-10-20 11:19:13 -050037 BeforeLambdaBody: false
38 BeforeWhile: false
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053039 IndentBraces: false
Patrick Williams9638afb2021-02-22 17:16:24 -060040 SplitEmptyFunction: false
41 SplitEmptyRecord: false
42 SplitEmptyNamespace: false
Patrick Williamsb7043042023-05-10 07:50:52 -050043BreakAfterAttributes: Never
Patrick Williams66addf22024-12-18 11:21:29 -050044BreakAfterReturnType: Automatic
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053045BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializers: AfterColon
Patrick Williams9638afb2021-02-22 17:16:24 -060049BreakInheritanceList: AfterColon
Patrick Williamsb7043042023-05-10 07:50:52 -050050BreakStringLiterals: false
Patrick Williams66addf22024-12-18 11:21:29 -050051BreakTemplateDeclarations: Yes
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Williams9638afb2021-02-22 17:16:24 -060054CompactNamespaces: false
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Patrick Williams9638afb2021-02-22 17:16:24 -060058DerivePointerAlignment: false
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053059DisableFormat: false
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053060FixNamespaceComments: true
Patrick Williamscb20ea82023-10-20 11:19:13 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Williams9638afb2021-02-22 17:16:24 -060065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
68 Priority: 7
69 - Regex: '^"config.h"'
70 Priority: -1
71 - Regex: '^".*\.h"'
72 Priority: 1
73 - Regex: '^".*\.hpp"'
74 Priority: 2
75 - Regex: '^<.*\.h>'
76 Priority: 3
77 - Regex: '^<.*\.hpp>'
78 Priority: 4
79 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053083IndentCaseLabels: true
Patrick Williamscb20ea82023-10-20 11:19:13 -050084IndentExternBlock: NoIndent
Patrick Williamsb7043042023-05-10 07:50:52 -050085IndentRequiresClause: true
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williamsb7043042023-05-10 07:50:52 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams16c2b682024-08-16 15:20:56 -040090LambdaBodyIndentation: Signature
Patrick Williamsb7043042023-05-10 07:50:52 -050091LineEnding: LF
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +053092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamscb20ea82023-10-20 11:19:13 -050099PackConstructorInitializers: BinPack
Patrick Williamsb7043042023-05-10 07:50:52 -0500100PenaltyBreakAssignment: 25
Patrick Williams16c2b682024-08-16 15:20:56 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +0530102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams16c2b682024-08-16 15:20:56 -0400105PenaltyBreakTemplateDeclaration: 10
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +0530106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams16c2b682024-08-16 15:20:56 -0400108PenaltyIndentedWhitespace: 1
Patrick Williamscb20ea82023-10-20 11:19:13 -0500109PointerAlignment: Left
Patrick Williamsb7043042023-05-10 07:50:52 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +0530112ReflowComments: true
Patrick Williamsb7043042023-05-10 07:50:52 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williamscb20ea82023-10-20 11:19:13 -0500115SortIncludes: CaseSensitive
Patrick Williams9638afb2021-02-22 17:16:24 -0600116SortUsingDeclarations: true
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +0530117SpaceAfterCStyleCast: false
Patrick Williams9638afb2021-02-22 17:16:24 -0600118SpaceAfterTemplateKeyword: true
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +0530119SpaceBeforeAssignmentOperators: true
Patrick Williams9638afb2021-02-22 17:16:24 -0600120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +0530123SpaceBeforeParens: ControlStatements
Patrick Williams9638afb2021-02-22 17:16:24 -0600124SpaceBeforeRangeBasedForLoopColon: true
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +0530125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamscb20ea82023-10-20 11:19:13 -0500127SpacesInAngles: Never
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +0530128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams9638afb2021-02-22 17:16:24 -0600132Standard: Latest
Richard Marian Thomaiyar9f630d92018-05-24 10:49:10 +0530133TabWidth: 4
134UseTab: Never
135...
Patrick Williams9638afb2021-02-22 17:16:24 -0600136