blob: 945adae2cbbbfa48004827a9e4921465ce2ef0c7 [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
AppaRao Puli00840472018-10-03 19:37:46 +05309AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
AppaRao Puli00840472018-10-03 19:37:46 +053017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
AppaRao Puliee853eb2020-05-29 00:53:20 +053019AlwaysBreakTemplateDeclarations: Yes
AppaRao Puli00840472018-10-03 19:37:46 +053020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
AppaRao Puliee853eb2020-05-29 00:53:20 +053023 AfterCaseLabel: true
AppaRao Puli00840472018-10-03 19:37:46 +053024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
AppaRao Puliee853eb2020-05-29 00:53:20 +053032 AfterExternBlock: true
AppaRao Puli00840472018-10-03 19:37:46 +053033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
AppaRao Puliee853eb2020-05-29 00:53:20 +053036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
AppaRao Puli00840472018-10-03 19:37:46 +053039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
AppaRao Puliee853eb2020-05-29 00:53:20 +053043BreakInheritanceList: AfterColon
George Liufa5d5ca2021-12-07 11:00:14 +080044BreakStringLiterals: false
AppaRao Puli00840472018-10-03 19:37:46 +053045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
AppaRao Puliee853eb2020-05-29 00:53:20 +053047CompactNamespaces: false
AppaRao Puli00840472018-10-03 19:37:46 +053048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
George Liufa5d5ca2021-12-07 11:00:14 +080052DeriveLineEnding: false
AppaRao Puliee853eb2020-05-29 00:53:20 +053053DerivePointerAlignment: false
AppaRao Puli00840472018-10-03 19:37:46 +053054PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
AppaRao Puliee853eb2020-05-29 00:53:20 +053059IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
62 Priority: 7
63 - Regex: '^"config.h"'
64 Priority: -1
65 - Regex: '^".*\.h"'
66 Priority: 1
67 - Regex: '^".*\.hpp"'
68 Priority: 2
69 - Regex: '^<.*\.h>'
70 Priority: 3
71 - Regex: '^<.*\.hpp>'
72 Priority: 4
73 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
AppaRao Puli00840472018-10-03 19:37:46 +053077IndentCaseLabels: true
78IndentWidth: 4
79IndentWrappedFunctionNames: true
80KeepEmptyLinesAtTheStartOfBlocks: true
81MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: true
88PenaltyBreakBeforeFirstCallParameter: 19
89PenaltyBreakComment: 300
90PenaltyBreakFirstLessLess: 120
91PenaltyBreakString: 1000
92PenaltyExcessCharacter: 1000000
93PenaltyReturnTypeOnItsOwnLine: 60
AppaRao Puli00840472018-10-03 19:37:46 +053094ReflowComments: true
AppaRao Puliee853eb2020-05-29 00:53:20 +053095SortIncludes: true
96SortUsingDeclarations: true
AppaRao Puli00840472018-10-03 19:37:46 +053097SpaceAfterCStyleCast: false
AppaRao Puliee853eb2020-05-29 00:53:20 +053098SpaceAfterTemplateKeyword: true
AppaRao Puli00840472018-10-03 19:37:46 +053099SpaceBeforeAssignmentOperators: true
AppaRao Puliee853eb2020-05-29 00:53:20 +0530100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
AppaRao Puli00840472018-10-03 19:37:46 +0530103SpaceBeforeParens: ControlStatements
AppaRao Puliee853eb2020-05-29 00:53:20 +0530104SpaceBeforeRangeBasedForLoopColon: true
AppaRao Puli00840472018-10-03 19:37:46 +0530105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
George Liufa5d5ca2021-12-07 11:00:14 +0800112Standard: Latest
AppaRao Puli00840472018-10-03 19:37:46 +0530113TabWidth: 4
George Liufa5d5ca2021-12-07 11:00:14 +0800114UseCRLF: false
AppaRao Puli00840472018-10-03 19:37:46 +0530115UseTab: Never
116...
AppaRao Puliee853eb2020-05-29 00:53:20 +0530117