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