blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
AppaRao Puli00840472018-10-03 19:37:46 +05301---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
AppaRao Puliee853eb2020-05-29 00:53:20 +05308AlignEscapedNewlines: Right
Patrick Williamsdfc72702023-05-10 07:51:18 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
AppaRao Puli00840472018-10-03 19:37:46 +053013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsdfc72702023-05-10 07:51:18 -050014AllowShortBlocksOnASingleLine: Empty
AppaRao Puli00840472018-10-03 19:37:46 +053015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsdfc72702023-05-10 07:51:18 -050016AllowShortFunctionsOnASingleLine: Empty
AppaRao Puli00840472018-10-03 19:37:46 +053017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
AppaRao Puli00840472018-10-03 19:37:46 +053019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
AppaRao Puliee853eb2020-05-29 00:53:20 +053021AlwaysBreakTemplateDeclarations: Yes
AppaRao Puli00840472018-10-03 19:37:46 +053022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
AppaRao Puliee853eb2020-05-29 00:53:20 +053025 AfterCaseLabel: true
AppaRao Puli00840472018-10-03 19:37:46 +053026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
AppaRao Puliee853eb2020-05-29 00:53:20 +053034 AfterExternBlock: true
AppaRao Puli00840472018-10-03 19:37:46 +053035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
AppaRao Puliee853eb2020-05-29 00:53:20 +053038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williamsdfc72702023-05-10 07:51:18 -050041BreakAfterAttributes: Never
AppaRao Puli00840472018-10-03 19:37:46 +053042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
AppaRao Puliee853eb2020-05-29 00:53:20 +053046BreakInheritanceList: AfterColon
George Liufa5d5ca2021-12-07 11:00:14 +080047BreakStringLiterals: false
AppaRao Puli00840472018-10-03 19:37:46 +053048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
AppaRao Puliee853eb2020-05-29 00:53:20 +053050CompactNamespaces: false
AppaRao Puli00840472018-10-03 19:37:46 +053051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
George Liufa5d5ca2021-12-07 11:00:14 +080055DeriveLineEnding: false
AppaRao Puliee853eb2020-05-29 00:53:20 +053056DerivePointerAlignment: false
AppaRao Puli00840472018-10-03 19:37:46 +053057PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
AppaRao Puliee853eb2020-05-29 00:53:20 +053062IncludeBlocks: 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
AppaRao Puli00840472018-10-03 19:37:46 +053080IndentCaseLabels: true
Patrick Williamsdfc72702023-05-10 07:51:18 -050081IndentRequiresClause: true
AppaRao Puli00840472018-10-03 19:37:46 +053082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williamsdfc72702023-05-10 07:51:18 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
AppaRao Puli00840472018-10-03 19:37:46 +053088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williamsdfc72702023-05-10 07:51:18 -050095PenaltyBreakAssignment: 25
AppaRao Puli00840472018-10-03 19:37:46 +053096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsdfc72702023-05-10 07:51:18 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
AppaRao Puli00840472018-10-03 19:37:46 +0530105ReflowComments: true
Patrick Williamsdfc72702023-05-10 07:51:18 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
AppaRao Puliee853eb2020-05-29 00:53:20 +0530108SortIncludes: true
109SortUsingDeclarations: true
AppaRao Puli00840472018-10-03 19:37:46 +0530110SpaceAfterCStyleCast: false
AppaRao Puliee853eb2020-05-29 00:53:20 +0530111SpaceAfterTemplateKeyword: true
AppaRao Puli00840472018-10-03 19:37:46 +0530112SpaceBeforeAssignmentOperators: true
AppaRao Puliee853eb2020-05-29 00:53:20 +0530113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
AppaRao Puli00840472018-10-03 19:37:46 +0530116SpaceBeforeParens: ControlStatements
AppaRao Puliee853eb2020-05-29 00:53:20 +0530117SpaceBeforeRangeBasedForLoopColon: true
AppaRao Puli00840472018-10-03 19:37:46 +0530118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
George Liufa5d5ca2021-12-07 11:00:14 +0800125Standard: Latest
AppaRao Puli00840472018-10-03 19:37:46 +0530126TabWidth: 4
127UseTab: Never
128...
AppaRao Puliee853eb2020-05-29 00:53:20 +0530129