blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Venturea83a3ec2020-08-04 09:52:05 -07008AlignEscapedNewlines: Right
Patrick Williams8c051122023-05-10 07:50:59 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams8c051122023-05-10 07:50:59 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams8c051122023-05-10 07:50:59 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Patrick Venturea83a3ec2020-08-04 09:52:05 -070021AlwaysBreakTemplateDeclarations: Yes
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Patrick Venturea83a3ec2020-08-04 09:52:05 -070025 AfterCaseLabel: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -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 Venturea83a3ec2020-08-04 09:52:05 -070034 AfterExternBlock: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Patrick Venturea83a3ec2020-08-04 09:52:05 -070038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams8c051122023-05-10 07:50:59 -050041BreakAfterAttributes: Never
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Patrick Venturea83a3ec2020-08-04 09:52:05 -070046BreakInheritanceList: AfterColon
Patrick Williams8c051122023-05-10 07:50:59 -050047BreakStringLiterals: false
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Patrick Venturea83a3ec2020-08-04 09:52:05 -070050CompactNamespaces: false
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams8c051122023-05-10 07:50:59 -050055DeriveLineEnding: false
Patrick Venturee2ec0f62018-09-04 12:30:27 -070056DerivePointerAlignment: false
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070057PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Patrick Venturea83a3ec2020-08-04 09:52:05 -070065 Priority: 7
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070066 - Regex: '^"config.h"'
67 Priority: -1
Patrick Venturea83a3ec2020-08-04 09:52:05 -070068 - Regex: '^".*\.h"'
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070069 Priority: 1
Patrick Venturea83a3ec2020-08-04 09:52:05 -070070 - Regex: '^".*\.hpp"'
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070071 Priority: 2
Patrick Venturea83a3ec2020-08-04 09:52:05 -070072 - Regex: '^<.*\.h>'
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070073 Priority: 3
Patrick Venturea83a3ec2020-08-04 09:52:05 -070074 - Regex: '^<.*\.hpp>'
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070075 Priority: 4
Patrick Venturea83a3ec2020-08-04 09:52:05 -070076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070080IndentCaseLabels: true
Patrick Williams8c051122023-05-10 07:50:59 -050081IndentRequiresClause: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams8c051122023-05-10 07:50:59 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams8c051122023-05-10 07:50:59 -050095PenaltyBreakAssignment: 25
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams8c051122023-05-10 07:50:59 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700105ReflowComments: true
Patrick Williams8c051122023-05-10 07:50:59 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700108SortIncludes: true
Patrick Venturee2ec0f62018-09-04 12:30:27 -0700109SortUsingDeclarations: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700110SpaceAfterCStyleCast: false
Patrick Venturea83a3ec2020-08-04 09:52:05 -0700111SpaceAfterTemplateKeyword: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700112SpaceBeforeAssignmentOperators: true
Patrick Venturea83a3ec2020-08-04 09:52:05 -0700113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700116SpaceBeforeParens: ControlStatements
Patrick Venturea83a3ec2020-08-04 09:52:05 -0700117SpaceBeforeRangeBasedForLoopColon: true
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Patrick Venturea83a3ec2020-08-04 09:52:05 -0700125Standard: Latest
Patrick Ventureda4a5dd2018-08-31 09:42:48 -0700126TabWidth: 4
127UseTab: Never
128...
129