blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [file] [log] [blame]
Gunnar Mills57d9c502018-09-14 14:42:34 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams89d734b2023-05-10 07:50:25 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Gunnar Mills57d9c502018-09-14 14:42:34 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams89d734b2023-05-10 07:50:25 -050014AllowShortBlocksOnASingleLine: Empty
Gunnar Mills57d9c502018-09-14 14:42:34 -050015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams89d734b2023-05-10 07:50:25 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams6f256bc2023-10-20 11:18:34 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Gunnar Mills57d9c502018-09-14 14:42:34 -050019AllowShortLoopsOnASingleLine: false
Gunnar Mills57d9c502018-09-14 14:42:34 -050020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Patrick Williams89d734b2023-05-10 07:50:25 -050022AlwaysBreakTemplateDeclarations: Yes
Gunnar Mills57d9c502018-09-14 14:42:34 -050023BinPackArguments: true
24BinPackParameters: true
Patrick Williams6f256bc2023-10-20 11:18:34 -050025BitFieldColonSpacing: None
Gunnar Mills57d9c502018-09-14 14:42:34 -050026BraceWrapping:
Manojkiran Edab6103f22020-05-28 09:45:01 +053027 AfterCaseLabel: true
Gunnar Mills57d9c502018-09-14 14:42:34 -050028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams6f256bc2023-10-20 11:18:34 -050031 AfterExternBlock: true
Gunnar Mills57d9c502018-09-14 14:42:34 -050032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams6f256bc2023-10-20 11:18:34 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Gunnar Mills57d9c502018-09-14 14:42:34 -050041 IndentBraces: false
Patrick Williams89d734b2023-05-10 07:50:25 -050042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
45BreakAfterAttributes: Never
Gunnar Mills57d9c502018-09-14 14:42:34 -050046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Patrick Williams89d734b2023-05-10 07:50:25 -050050BreakInheritanceList: AfterColon
51BreakStringLiterals: false
Gunnar Mills57d9c502018-09-14 14:42:34 -050052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Patrick Williams89d734b2023-05-10 07:50:25 -050054CompactNamespaces: false
Gunnar Mills57d9c502018-09-14 14:42:34 -050055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
59DisableFormat: false
Gunnar Mills57d9c502018-09-14 14:42:34 -050060FixNamespaceComments: true
Patrick Williams6f256bc2023-10-20 11:18:34 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Gunnar Mills57d9c502018-09-14 14:42:34 -050065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Patrick Williams89d734b2023-05-10 07:50:25 -050068 Priority: 7
Gunnar Mills57d9c502018-09-14 14:42:34 -050069 - Regex: '^"config.h"'
70 Priority: -1
Patrick Williams89d734b2023-05-10 07:50:25 -050071 - Regex: '^".*\.h"'
Gunnar Mills57d9c502018-09-14 14:42:34 -050072 Priority: 1
Patrick Williams89d734b2023-05-10 07:50:25 -050073 - Regex: '^".*\.hpp"'
Gunnar Mills57d9c502018-09-14 14:42:34 -050074 Priority: 2
Patrick Williams89d734b2023-05-10 07:50:25 -050075 - Regex: '^<.*\.h>'
Gunnar Mills57d9c502018-09-14 14:42:34 -050076 Priority: 3
Patrick Williams89d734b2023-05-10 07:50:25 -050077 - Regex: '^<.*\.hpp>'
Gunnar Mills57d9c502018-09-14 14:42:34 -050078 Priority: 4
Patrick Williams89d734b2023-05-10 07:50:25 -050079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Gunnar Mills57d9c502018-09-14 14:42:34 -050083IndentCaseLabels: true
Patrick Williams89d734b2023-05-10 07:50:25 -050084IndentExternBlock: NoIndent
85IndentRequiresClause: true
Gunnar Mills57d9c502018-09-14 14:42:34 -050086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams89d734b2023-05-10 07:50:25 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsad205022024-08-16 15:20:07 -040090LambdaBodyIndentation: Signature
Patrick Williams89d734b2023-05-10 07:50:25 -050091LineEnding: LF
Gunnar Mills57d9c502018-09-14 14:42:34 -050092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams6f256bc2023-10-20 11:18:34 -050099PackConstructorInitializers: BinPack
Patrick Williams89d734b2023-05-10 07:50:25 -0500100PenaltyBreakAssignment: 25
Patrick Williamsad205022024-08-16 15:20:07 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Gunnar Mills57d9c502018-09-14 14:42:34 -0500102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williamsad205022024-08-16 15:20:07 -0400105PenaltyBreakTemplateDeclaration: 10
Gunnar Mills57d9c502018-09-14 14:42:34 -0500106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsad205022024-08-16 15:20:07 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams6f256bc2023-10-20 11:18:34 -0500109PointerAlignment: Left
Patrick Williams89d734b2023-05-10 07:50:25 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Gunnar Mills57d9c502018-09-14 14:42:34 -0500112ReflowComments: true
Patrick Williams89d734b2023-05-10 07:50:25 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams6f256bc2023-10-20 11:18:34 -0500115SortIncludes: CaseSensitive
Gunnar Mills57d9c502018-09-14 14:42:34 -0500116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
Patrick Williams89d734b2023-05-10 07:50:25 -0500118SpaceAfterTemplateKeyword: true
Gunnar Mills57d9c502018-09-14 14:42:34 -0500119SpaceBeforeAssignmentOperators: true
Patrick Williams89d734b2023-05-10 07:50:25 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Gunnar Mills57d9c502018-09-14 14:42:34 -0500123SpaceBeforeParens: ControlStatements
Patrick Williams89d734b2023-05-10 07:50:25 -0500124SpaceBeforeRangeBasedForLoopColon: true
Gunnar Mills57d9c502018-09-14 14:42:34 -0500125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams6f256bc2023-10-20 11:18:34 -0500127SpacesInAngles: Never
Gunnar Mills57d9c502018-09-14 14:42:34 -0500128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams89d734b2023-05-10 07:50:25 -0500132Standard: Latest
Gunnar Mills57d9c502018-09-14 14:42:34 -0500133TabWidth: 4
134UseTab: Never
135...
Patrick Williams89d734b2023-05-10 07:50:25 -0500136