blob: 82c0e2c087ac3f4500c3f2659ef15a43ebe48bb1 [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 Venture537ff142018-11-01 16:37:09 -070010AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050012AllowShortBlocksOnASingleLine: Empty
Patrick Venture537ff142018-11-01 16:37:09 -070013AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsaa902c62023-04-04 19:59:51 -050014AllowShortFunctionsOnASingleLine: Empty
Patrick Venture537ff142018-11-01 16:37:09 -070015AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Patrick Venture537ff142018-11-01 16:37:09 -070017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Manojkiran Edaee12f482021-10-26 22:16:29 +053019AlwaysBreakTemplateDeclarations: Yes
Patrick Venture537ff142018-11-01 16:37:09 -070020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Manojkiran Edaee12f482021-10-26 22:16:29 +053023 AfterCaseLabel: true
Patrick Venture537ff142018-11-01 16:37:09 -070024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Manojkiran Edaee12f482021-10-26 22:16:29 +053032 AfterExternBlock: true
Patrick Venture537ff142018-11-01 16:37:09 -070033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Manojkiran Edaee12f482021-10-26 22:16:29 +053036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Patrick Venture537ff142018-11-01 16:37:09 -070039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Manojkiran Edaee12f482021-10-26 22:16:29 +053043BreakInheritanceList: AfterColon
44BreakStringLiterals: false
Patrick Venture537ff142018-11-01 16:37:09 -070045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Manojkiran Edaee12f482021-10-26 22:16:29 +053047CompactNamespaces: false
Patrick Venture537ff142018-11-01 16:37:09 -070048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050052DeriveLineEnding: false
Patrick Venture537ff142018-11-01 16:37:09 -070053DerivePointerAlignment: false
54PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
Manojkiran Edaee12f482021-10-26 22:16:29 +053062 Priority: 7
Patrick Venture537ff142018-11-01 16:37:09 -070063 - Regex: '^"config.h"'
64 Priority: -1
Manojkiran Edaee12f482021-10-26 22:16:29 +053065 - Regex: '^".*\.h"'
Patrick Venture537ff142018-11-01 16:37:09 -070066 Priority: 1
Manojkiran Edaee12f482021-10-26 22:16:29 +053067 - Regex: '^".*\.hpp"'
Patrick Venture537ff142018-11-01 16:37:09 -070068 Priority: 2
Manojkiran Edaee12f482021-10-26 22:16:29 +053069 - Regex: '^<.*\.h>'
Patrick Venture537ff142018-11-01 16:37:09 -070070 Priority: 3
Manojkiran Edaee12f482021-10-26 22:16:29 +053071 - Regex: '^<.*\.hpp>'
Patrick Venture537ff142018-11-01 16:37:09 -070072 Priority: 4
Manojkiran Edaee12f482021-10-26 22:16:29 +053073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Patrick Venture537ff142018-11-01 16:37:09 -070077IndentCaseLabels: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050078IndentRequiresClause: true
Patrick Venture537ff142018-11-01 16:37:09 -070079IndentWidth: 4
80IndentWrappedFunctionNames: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050081KeepEmptyLinesAtTheStartOfBlocks: false
82LambdaBodyIndentation: OuterScope
Patrick Venture537ff142018-11-01 16:37:09 -070083MacroBlockBegin: ''
84MacroBlockEnd: ''
85MaxEmptyLinesToKeep: 1
86NamespaceIndentation: None
87ObjCBlockIndentWidth: 2
88ObjCSpaceAfterProperty: false
89ObjCSpaceBeforeProtocolList: true
Patrick Williamsaa902c62023-04-04 19:59:51 -050090PenaltyBreakAssignment: 25
Patrick Venture537ff142018-11-01 16:37:09 -070091PenaltyBreakBeforeFirstCallParameter: 19
92PenaltyBreakComment: 300
93PenaltyBreakFirstLessLess: 120
94PenaltyBreakString: 1000
95PenaltyExcessCharacter: 1000000
96PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsaa902c62023-04-04 19:59:51 -050097PenaltyIndentedWhitespace: 0
98QualifierAlignment: Left
99ReferenceAlignment: Left
Patrick Venture537ff142018-11-01 16:37:09 -0700100ReflowComments: true
Patrick Williamsaa902c62023-04-04 19:59:51 -0500101RequiresClausePosition: OwnLine
Patrick Venture537ff142018-11-01 16:37:09 -0700102SortIncludes: true
103SortUsingDeclarations: true
104SpaceAfterCStyleCast: false
Manojkiran Edaee12f482021-10-26 22:16:29 +0530105SpaceAfterTemplateKeyword: true
Patrick Venture537ff142018-11-01 16:37:09 -0700106SpaceBeforeAssignmentOperators: true
Manojkiran Edaee12f482021-10-26 22:16:29 +0530107SpaceBeforeCpp11BracedList: false
108SpaceBeforeCtorInitializerColon: true
109SpaceBeforeInheritanceColon: true
Patrick Venture537ff142018-11-01 16:37:09 -0700110SpaceBeforeParens: ControlStatements
Manojkiran Edaee12f482021-10-26 22:16:29 +0530111SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture537ff142018-11-01 16:37:09 -0700112SpaceInEmptyParentheses: false
113SpacesBeforeTrailingComments: 1
114SpacesInAngles: false
115SpacesInContainerLiterals: true
116SpacesInCStyleCastParentheses: false
117SpacesInParentheses: false
118SpacesInSquareBrackets: false
Manojkiran Edaee12f482021-10-26 22:16:29 +0530119Standard: Latest
Patrick Venture537ff142018-11-01 16:37:09 -0700120TabWidth: 4
Patrick Williamsaa902c62023-04-04 19:59:51 -0500121UseCRLF: false
Patrick Venture537ff142018-11-01 16:37:09 -0700122UseTab: Never
123...
124