blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Patrick Venture537ff142018-11-01 16:37:09 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Manojkiran Edaee12f482021-10-26 22:16:29 +05308AlignEscapedNewlines: Right
Patrick Williamsaa902c62023-04-04 19:59:51 -05009AlignOperands: Align
Patrick Williams16424ed2023-05-10 07:51:40 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venture537ff142018-11-01 16:37:09 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venture537ff142018-11-01 16:37:09 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsaa902c62023-04-04 19:59:51 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Venture537ff142018-11-01 16:37:09 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Patrick Venture537ff142018-11-01 16:37:09 -070019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Manojkiran Edaee12f482021-10-26 22:16:29 +053021AlwaysBreakTemplateDeclarations: Yes
Patrick Venture537ff142018-11-01 16:37:09 -070022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Manojkiran Edaee12f482021-10-26 22:16:29 +053025 AfterCaseLabel: true
Patrick Venture537ff142018-11-01 16:37:09 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Manojkiran Edaee12f482021-10-26 22:16:29 +053034 AfterExternBlock: true
Patrick Venture537ff142018-11-01 16:37:09 -070035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Manojkiran Edaee12f482021-10-26 22:16:29 +053038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams16424ed2023-05-10 07:51:40 -050041BreakAfterAttributes: Never
Patrick Venture537ff142018-11-01 16:37:09 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Manojkiran Edaee12f482021-10-26 22:16:29 +053046BreakInheritanceList: AfterColon
47BreakStringLiterals: false
Patrick Venture537ff142018-11-01 16:37:09 -070048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Manojkiran Edaee12f482021-10-26 22:16:29 +053050CompactNamespaces: false
Patrick Venture537ff142018-11-01 16:37:09 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050055DeriveLineEnding: false
Patrick Venture537ff142018-11-01 16:37:09 -070056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Manojkiran Edaee12f482021-10-26 22:16:29 +053065 Priority: 7
Patrick Venture537ff142018-11-01 16:37:09 -070066 - Regex: '^"config.h"'
67 Priority: -1
Manojkiran Edaee12f482021-10-26 22:16:29 +053068 - Regex: '^".*\.h"'
Patrick Venture537ff142018-11-01 16:37:09 -070069 Priority: 1
Manojkiran Edaee12f482021-10-26 22:16:29 +053070 - Regex: '^".*\.hpp"'
Patrick Venture537ff142018-11-01 16:37:09 -070071 Priority: 2
Manojkiran Edaee12f482021-10-26 22:16:29 +053072 - Regex: '^<.*\.h>'
Patrick Venture537ff142018-11-01 16:37:09 -070073 Priority: 3
Manojkiran Edaee12f482021-10-26 22:16:29 +053074 - Regex: '^<.*\.hpp>'
Patrick Venture537ff142018-11-01 16:37:09 -070075 Priority: 4
Manojkiran Edaee12f482021-10-26 22:16:29 +053076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Patrick Venture537ff142018-11-01 16:37:09 -070080IndentCaseLabels: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050081IndentRequiresClause: true
Patrick Venture537ff142018-11-01 16:37:09 -070082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams16424ed2023-05-10 07:51:40 -050084InsertNewlineAtEOF: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050085KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
Patrick Williams16424ed2023-05-10 07:51:40 -050087LineEnding: LF
Patrick Venture537ff142018-11-01 16:37:09 -070088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050095PenaltyBreakAssignment: 25
Patrick Venture537ff142018-11-01 16:37:09 -070096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsaa902c62023-04-04 19:59:51 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Patrick Venture537ff142018-11-01 16:37:09 -0700105ReflowComments: true
Patrick Williamsaa902c62023-04-04 19:59:51 -0500106RequiresClausePosition: OwnLine
Patrick Williams16424ed2023-05-10 07:51:40 -0500107RequiresExpressionIndentation: Keyword
Patrick Venture537ff142018-11-01 16:37:09 -0700108SortIncludes: true
109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
Manojkiran Edaee12f482021-10-26 22:16:29 +0530111SpaceAfterTemplateKeyword: true
Patrick Venture537ff142018-11-01 16:37:09 -0700112SpaceBeforeAssignmentOperators: true
Manojkiran Edaee12f482021-10-26 22:16:29 +0530113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Patrick Venture537ff142018-11-01 16:37:09 -0700116SpaceBeforeParens: ControlStatements
Manojkiran Edaee12f482021-10-26 22:16:29 +0530117SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture537ff142018-11-01 16:37:09 -0700118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Manojkiran Edaee12f482021-10-26 22:16:29 +0530125Standard: Latest
Patrick Venture537ff142018-11-01 16:37:09 -0700126TabWidth: 4
Patrick Venture537ff142018-11-01 16:37:09 -0700127UseTab: Never
128...
129