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