blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Vijay Khemkae7d23d02019-03-08 13:13:40 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Vijay Khemkad1194022020-05-27 18:58:33 -07008AlignEscapedNewlines: Right
Patrick Williams2405ae92023-05-10 07:50:09 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Vijay Khemkae7d23d02019-03-08 13:13:40 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams2405ae92023-05-10 07:50:09 -050014AllowShortBlocksOnASingleLine: Empty
Vijay Khemkae7d23d02019-03-08 13:13:40 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams2405ae92023-05-10 07:50:09 -050016AllowShortFunctionsOnASingleLine: Empty
Vijay Khemkae7d23d02019-03-08 13:13:40 -080017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Vijay Khemkad1194022020-05-27 18:58:33 -070021AlwaysBreakTemplateDeclarations: Yes
Vijay Khemkae7d23d02019-03-08 13:13:40 -080022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Vijay Khemkad1194022020-05-27 18:58:33 -070025 AfterCaseLabel: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Vijay Khemkad1194022020-05-27 18:58:33 -070034 AfterExternBlock: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Vijay Khemkad1194022020-05-27 18:58:33 -070038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams2405ae92023-05-10 07:50:09 -050041BreakAfterAttributes: Never
Vijay Khemkae7d23d02019-03-08 13:13:40 -080042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Vijay Khemkad1194022020-05-27 18:58:33 -070046BreakInheritanceList: AfterColon
Patrick Williams2405ae92023-05-10 07:50:09 -050047BreakStringLiterals: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Vijay Khemkad1194022020-05-27 18:58:33 -070050CompactNamespaces: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams2405ae92023-05-10 07:50:09 -050055DeriveLineEnding: false
Vijay Khemkad1194022020-05-27 18:58:33 -070056DerivePointerAlignment: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080057PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Vijay Khemkad1194022020-05-27 18:58:33 -070062IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
65 Priority: 7
66 - Regex: '^"config.h"'
67 Priority: -1
68 - Regex: '^".*\.h"'
69 Priority: 1
70 - Regex: '^".*\.hpp"'
71 Priority: 2
72 - Regex: '^<.*\.h>'
73 Priority: 3
74 - Regex: '^<.*\.hpp>'
75 Priority: 4
76 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Vijay Khemkae7d23d02019-03-08 13:13:40 -080080IndentCaseLabels: true
Patrick Williams2405ae92023-05-10 07:50:09 -050081IndentRequiresClause: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams2405ae92023-05-10 07:50:09 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
Vijay Khemkae7d23d02019-03-08 13:13:40 -080088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams2405ae92023-05-10 07:50:09 -050095PenaltyBreakAssignment: 25
Vijay Khemkae7d23d02019-03-08 13:13:40 -080096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams2405ae92023-05-10 07:50:09 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800105ReflowComments: true
Patrick Williams2405ae92023-05-10 07:50:09 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
108SortIncludes: true
Vijay Khemkad1194022020-05-27 18:58:33 -0700109SortUsingDeclarations: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800110SpaceAfterCStyleCast: false
Vijay Khemkad1194022020-05-27 18:58:33 -0700111SpaceAfterTemplateKeyword: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800112SpaceBeforeAssignmentOperators: true
Vijay Khemkad1194022020-05-27 18:58:33 -0700113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800116SpaceBeforeParens: ControlStatements
Vijay Khemkad1194022020-05-27 18:58:33 -0700117SpaceBeforeRangeBasedForLoopColon: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Patrick Williams2405ae92023-05-10 07:50:09 -0500125Standard: Latest
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800126TabWidth: 4
127UseTab: Never
128...
129