blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [file] [log] [blame]
Vijay Khemkae7d23d02019-03-08 13:13:40 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Vijay Khemkad1194022020-05-27 18:58:33 -07008AlignEscapedNewlines: Right
Patrick Williams2405ae92023-05-10 07:50:09 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Vijay Khemkae7d23d02019-03-08 13:13:40 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams2405ae92023-05-10 07:50:09 -050014AllowShortBlocksOnASingleLine: Empty
Vijay Khemkae7d23d02019-03-08 13:13:40 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams2405ae92023-05-10 07:50:09 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams8fe3a442023-10-20 11:18:04 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080019AllowShortLoopsOnASingleLine: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Vijay Khemkad1194022020-05-27 18:58:33 -070022AlwaysBreakTemplateDeclarations: Yes
Vijay Khemkae7d23d02019-03-08 13:13:40 -080023BinPackArguments: true
24BinPackParameters: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050025BitFieldColonSpacing: None
Vijay Khemkae7d23d02019-03-08 13:13:40 -080026BraceWrapping:
Vijay Khemkad1194022020-05-27 18:58:33 -070027 AfterCaseLabel: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050031 AfterExternBlock: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080041 IndentBraces: false
Vijay Khemkad1194022020-05-27 18:58:33 -070042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams2405ae92023-05-10 07:50:09 -050045BreakAfterAttributes: Never
Vijay Khemkae7d23d02019-03-08 13:13:40 -080046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Vijay Khemkad1194022020-05-27 18:58:33 -070050BreakInheritanceList: AfterColon
Patrick Williams2405ae92023-05-10 07:50:09 -050051BreakStringLiterals: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Vijay Khemkad1194022020-05-27 18:58:33 -070054CompactNamespaces: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Vijay Khemkad1194022020-05-27 18:58:33 -070058DerivePointerAlignment: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080059DisableFormat: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080060FixNamespaceComments: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Vijay Khemkad1194022020-05-27 18:58:33 -070065IncludeBlocks: 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
Vijay Khemkae7d23d02019-03-08 13:13:40 -080083IndentCaseLabels: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050084IndentExternBlock: NoIndent
Patrick Williams2405ae92023-05-10 07:50:09 -050085IndentRequiresClause: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams2405ae92023-05-10 07:50:09 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams010dee02024-08-16 15:19:44 -040090LambdaBodyIndentation: Signature
Patrick Williams2405ae92023-05-10 07:50:09 -050091LineEnding: LF
Vijay Khemkae7d23d02019-03-08 13:13:40 -080092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams8fe3a442023-10-20 11:18:04 -050099PackConstructorInitializers: BinPack
Patrick Williams2405ae92023-05-10 07:50:09 -0500100PenaltyBreakAssignment: 25
Patrick Williams010dee02024-08-16 15:19:44 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams010dee02024-08-16 15:19:44 -0400105PenaltyBreakTemplateDeclaration: 10
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams010dee02024-08-16 15:19:44 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams8fe3a442023-10-20 11:18:04 -0500109PointerAlignment: Left
Patrick Williams2405ae92023-05-10 07:50:09 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800112ReflowComments: true
Patrick Williams2405ae92023-05-10 07:50:09 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams8fe3a442023-10-20 11:18:04 -0500115SortIncludes: CaseSensitive
Vijay Khemkad1194022020-05-27 18:58:33 -0700116SortUsingDeclarations: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800117SpaceAfterCStyleCast: false
Vijay Khemkad1194022020-05-27 18:58:33 -0700118SpaceAfterTemplateKeyword: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800119SpaceBeforeAssignmentOperators: true
Vijay Khemkad1194022020-05-27 18:58:33 -0700120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800123SpaceBeforeParens: ControlStatements
Vijay Khemkad1194022020-05-27 18:58:33 -0700124SpaceBeforeRangeBasedForLoopColon: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams8fe3a442023-10-20 11:18:04 -0500127SpacesInAngles: Never
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams2405ae92023-05-10 07:50:09 -0500132Standard: Latest
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800133TabWidth: 4
134UseTab: Never
135...
136