blob: 5f0cb0956f27c11976912f95fa03b05d7cf1e142 [file] [log] [blame]
Patrick Venturef18bf832018-10-26 18:14:00 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams2544b412022-10-04 08:41:06 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
Patrick Venturef18bf832018-10-26 18:14:00 -070010AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams2544b412022-10-04 08:41:06 -050012AllowShortBlocksOnASingleLine: Empty
Patrick Venturef18bf832018-10-26 18:14:00 -070013AllowShortCaseLabelsOnASingleLine: false
Patrick Williams2544b412022-10-04 08:41:06 -050014AllowShortFunctionsOnASingleLine: Empty
Patrick Venturef18bf832018-10-26 18:14:00 -070015AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Patrick Venturef18bf832018-10-26 18:14:00 -070017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Patrick Williams2544b412022-10-04 08:41:06 -050019AlwaysBreakTemplateDeclarations: Yes
Patrick Venturef18bf832018-10-26 18:14:00 -070020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Matt Spinler18f4b6e2020-05-21 11:36:24 -050023 AfterCaseLabel: true
Patrick Venturef18bf832018-10-26 18:14:00 -070024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Patrick Williams2544b412022-10-04 08:41:06 -050032 AfterExternBlock: true
Patrick Venturef18bf832018-10-26 18:14:00 -070033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Patrick Williams2544b412022-10-04 08:41:06 -050036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Patrick Venturef18bf832018-10-26 18:14:00 -070039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Patrick Williams2544b412022-10-04 08:41:06 -050043BreakInheritanceList: AfterColon
44BreakStringLiterals: false
Patrick Venturef18bf832018-10-26 18:14:00 -070045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Patrick Williams2544b412022-10-04 08:41:06 -050047CompactNamespaces: false
Patrick Venturef18bf832018-10-26 18:14:00 -070048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Patrick Williams2544b412022-10-04 08:41:06 -050052DeriveLineEnding: false
Patrick Venturef18bf832018-10-26 18:14:00 -070053DerivePointerAlignment: false
54PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
Patrick Williams2544b412022-10-04 08:41:06 -050062 Priority: 7
Patrick Venturef18bf832018-10-26 18:14:00 -070063 - Regex: '^"config.h"'
64 Priority: -1
Patrick Williams2544b412022-10-04 08:41:06 -050065 - Regex: '^".*\.h"'
Patrick Venturef18bf832018-10-26 18:14:00 -070066 Priority: 1
Patrick Williams2544b412022-10-04 08:41:06 -050067 - Regex: '^".*\.hpp"'
Patrick Venturef18bf832018-10-26 18:14:00 -070068 Priority: 2
Patrick Williams2544b412022-10-04 08:41:06 -050069 - Regex: '^<.*\.h>'
Patrick Venturef18bf832018-10-26 18:14:00 -070070 Priority: 3
Patrick Williams2544b412022-10-04 08:41:06 -050071 - Regex: '^<.*\.hpp>'
Patrick Venturef18bf832018-10-26 18:14:00 -070072 Priority: 4
Patrick Williams2544b412022-10-04 08:41:06 -050073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Patrick Venturef18bf832018-10-26 18:14:00 -070077IndentCaseLabels: true
Patrick Williams2544b412022-10-04 08:41:06 -050078IndentRequiresClause: true
Patrick Venturef18bf832018-10-26 18:14:00 -070079IndentWidth: 4
80IndentWrappedFunctionNames: true
Patrick Williams2544b412022-10-04 08:41:06 -050081KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Venturef18bf832018-10-26 18:14:00 -070082MacroBlockBegin: ''
83MacroBlockEnd: ''
84MaxEmptyLinesToKeep: 1
85NamespaceIndentation: None
86ObjCBlockIndentWidth: 2
87ObjCSpaceAfterProperty: false
88ObjCSpaceBeforeProtocolList: true
Patrick Williams2544b412022-10-04 08:41:06 -050089PenaltyBreakAssignment: 25
Patrick Venturef18bf832018-10-26 18:14:00 -070090PenaltyBreakBeforeFirstCallParameter: 19
91PenaltyBreakComment: 300
92PenaltyBreakFirstLessLess: 120
93PenaltyBreakString: 1000
94PenaltyExcessCharacter: 1000000
95PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams2544b412022-10-04 08:41:06 -050096PenaltyIndentedWhitespace: 0
97QualifierAlignment: Left
98ReferenceAlignment: Left
Patrick Venturef18bf832018-10-26 18:14:00 -070099ReflowComments: true
Patrick Williams2544b412022-10-04 08:41:06 -0500100RequiresClausePosition: OwnLine
Patrick Venturef18bf832018-10-26 18:14:00 -0700101SortIncludes: true
102SortUsingDeclarations: true
103SpaceAfterCStyleCast: false
Patrick Williams2544b412022-10-04 08:41:06 -0500104SpaceAfterTemplateKeyword: true
Patrick Venturef18bf832018-10-26 18:14:00 -0700105SpaceBeforeAssignmentOperators: true
Patrick Williams2544b412022-10-04 08:41:06 -0500106SpaceBeforeCpp11BracedList: false
107SpaceBeforeCtorInitializerColon: true
108SpaceBeforeInheritanceColon: true
Patrick Venturef18bf832018-10-26 18:14:00 -0700109SpaceBeforeParens: ControlStatements
Patrick Williams2544b412022-10-04 08:41:06 -0500110SpaceBeforeRangeBasedForLoopColon: true
Patrick Venturef18bf832018-10-26 18:14:00 -0700111SpaceInEmptyParentheses: false
112SpacesBeforeTrailingComments: 1
113SpacesInAngles: false
114SpacesInContainerLiterals: true
115SpacesInCStyleCastParentheses: false
116SpacesInParentheses: false
117SpacesInSquareBrackets: false
Patrick Williams2544b412022-10-04 08:41:06 -0500118Standard: Latest
Patrick Venturef18bf832018-10-26 18:14:00 -0700119TabWidth: 4
Patrick Williams2544b412022-10-04 08:41:06 -0500120UseCRLF: false
Patrick Venturef18bf832018-10-26 18:14:00 -0700121UseTab: Never
122...
123