blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [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 Williamsac1ba3f2023-05-10 07:50:16 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venturef18bf832018-10-26 18:14:00 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams2544b412022-10-04 08:41:06 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venturef18bf832018-10-26 18:14:00 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams2544b412022-10-04 08:41:06 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Venturef18bf832018-10-26 18:14:00 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Patrick Venturef18bf832018-10-26 18:14:00 -070019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Patrick Williams2544b412022-10-04 08:41:06 -050021AlwaysBreakTemplateDeclarations: Yes
Patrick Venturef18bf832018-10-26 18:14:00 -070022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Matt Spinler18f4b6e2020-05-21 11:36:24 -050025 AfterCaseLabel: true
Patrick Venturef18bf832018-10-26 18:14:00 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Patrick Williams2544b412022-10-04 08:41:06 -050034 AfterExternBlock: true
Patrick Venturef18bf832018-10-26 18:14:00 -070035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Patrick Williams2544b412022-10-04 08:41:06 -050038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williamsac1ba3f2023-05-10 07:50:16 -050041BreakAfterAttributes: Never
Patrick Venturef18bf832018-10-26 18:14:00 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Patrick Williams2544b412022-10-04 08:41:06 -050046BreakInheritanceList: AfterColon
47BreakStringLiterals: false
Patrick Venturef18bf832018-10-26 18:14:00 -070048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Patrick Williams2544b412022-10-04 08:41:06 -050050CompactNamespaces: false
Patrick Venturef18bf832018-10-26 18:14:00 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams2544b412022-10-04 08:41:06 -050055DeriveLineEnding: false
Patrick Venturef18bf832018-10-26 18:14:00 -070056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Patrick Williams2544b412022-10-04 08:41:06 -050065 Priority: 7
Patrick Venturef18bf832018-10-26 18:14:00 -070066 - Regex: '^"config.h"'
67 Priority: -1
Patrick Williams2544b412022-10-04 08:41:06 -050068 - Regex: '^".*\.h"'
Patrick Venturef18bf832018-10-26 18:14:00 -070069 Priority: 1
Patrick Williams2544b412022-10-04 08:41:06 -050070 - Regex: '^".*\.hpp"'
Patrick Venturef18bf832018-10-26 18:14:00 -070071 Priority: 2
Patrick Williams2544b412022-10-04 08:41:06 -050072 - Regex: '^<.*\.h>'
Patrick Venturef18bf832018-10-26 18:14:00 -070073 Priority: 3
Patrick Williams2544b412022-10-04 08:41:06 -050074 - Regex: '^<.*\.hpp>'
Patrick Venturef18bf832018-10-26 18:14:00 -070075 Priority: 4
Patrick Williams2544b412022-10-04 08:41:06 -050076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Patrick Venturef18bf832018-10-26 18:14:00 -070080IndentCaseLabels: true
Patrick Williams2544b412022-10-04 08:41:06 -050081IndentRequiresClause: true
Patrick Venturef18bf832018-10-26 18:14:00 -070082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williamsac1ba3f2023-05-10 07:50:16 -050084InsertNewlineAtEOF: true
Patrick Williams2544b412022-10-04 08:41:06 -050085KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsac1ba3f2023-05-10 07:50:16 -050086LambdaBodyIndentation: OuterScope
87LineEnding: LF
Patrick Venturef18bf832018-10-26 18:14:00 -070088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams2544b412022-10-04 08:41:06 -050095PenaltyBreakAssignment: 25
Patrick Venturef18bf832018-10-26 18:14:00 -070096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams2544b412022-10-04 08:41:06 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Patrick Venturef18bf832018-10-26 18:14:00 -0700105ReflowComments: true
Patrick Williams2544b412022-10-04 08:41:06 -0500106RequiresClausePosition: OwnLine
Patrick Williamsac1ba3f2023-05-10 07:50:16 -0500107RequiresExpressionIndentation: Keyword
Patrick Venturef18bf832018-10-26 18:14:00 -0700108SortIncludes: true
109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
Patrick Williams2544b412022-10-04 08:41:06 -0500111SpaceAfterTemplateKeyword: true
Patrick Venturef18bf832018-10-26 18:14:00 -0700112SpaceBeforeAssignmentOperators: true
Patrick Williams2544b412022-10-04 08:41:06 -0500113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Patrick Venturef18bf832018-10-26 18:14:00 -0700116SpaceBeforeParens: ControlStatements
Patrick Williams2544b412022-10-04 08:41:06 -0500117SpaceBeforeRangeBasedForLoopColon: true
Patrick Venturef18bf832018-10-26 18:14:00 -0700118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Patrick Williams2544b412022-10-04 08:41:06 -0500125Standard: Latest
Patrick Venturef18bf832018-10-26 18:14:00 -0700126TabWidth: 4
Patrick Venturef18bf832018-10-26 18:14:00 -0700127UseTab: Never
128...
129