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