blob: 52ac0a17d460aa36f5d7067e6e117cab19927369 [file] [log] [blame]
Ratan Guptaaaf87de2018-04-16 15:25:13 +05301---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams1334b7b2021-02-22 17:15:12 -06008AlignEscapedNewlines: Right
Ratan Guptaaaf87de2018-04-16 15:25:13 +05309AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Patrick Williams1334b7b2021-02-22 17:15:12 -060019AlwaysBreakTemplateDeclarations: Yes
Ratan Guptaaaf87de2018-04-16 15:25:13 +053020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Patrick Williams1334b7b2021-02-22 17:15:12 -060023 AfterCaseLabel: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Patrick Williams1334b7b2021-02-22 17:15:12 -060032 AfterExternBlock: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Patrick Williams1334b7b2021-02-22 17:15:12 -060036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Patrick Williams1334b7b2021-02-22 17:15:12 -060043BreakInheritanceList: AfterColon
44BreakStringLiterals: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Patrick Williams1334b7b2021-02-22 17:15:12 -060047CompactNamespaces: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Patrick Williams1334b7b2021-02-22 17:15:12 -060052DerivePointerAlignment: false
Ratan Guptaaaf87de2018-04-16 15:25:13 +053053PointerAlignment: Left
54DisableFormat: false
55ExperimentalAutoDetectBinPacking: false
56FixNamespaceComments: true
57ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Patrick Williams1334b7b2021-02-22 17:15:12 -060058IncludeBlocks: Regroup
59IncludeCategories:
60 - Regex: '^[<"](gtest|gmock)'
61 Priority: 7
62 - Regex: '^"config.h"'
63 Priority: -1
64 - Regex: '^".*\.h"'
65 Priority: 1
66 - Regex: '^".*\.hpp"'
67 Priority: 2
68 - Regex: '^<.*\.h>'
69 Priority: 3
70 - Regex: '^<.*\.hpp>'
71 Priority: 4
72 - Regex: '^<.*'
73 Priority: 5
74 - Regex: '.*'
75 Priority: 6
Ratan Guptaaaf87de2018-04-16 15:25:13 +053076IndentCaseLabels: true
77IndentWidth: 4
78IndentWrappedFunctionNames: true
79KeepEmptyLinesAtTheStartOfBlocks: true
80MacroBlockBegin: ''
81MacroBlockEnd: ''
82MaxEmptyLinesToKeep: 1
83NamespaceIndentation: None
84ObjCBlockIndentWidth: 2
85ObjCSpaceAfterProperty: false
86ObjCSpaceBeforeProtocolList: true
87PenaltyBreakBeforeFirstCallParameter: 19
88PenaltyBreakComment: 300
89PenaltyBreakFirstLessLess: 120
90PenaltyBreakString: 1000
91PenaltyExcessCharacter: 1000000
92PenaltyReturnTypeOnItsOwnLine: 60
Ratan Guptaaaf87de2018-04-16 15:25:13 +053093ReflowComments: true
Patrick Williams1334b7b2021-02-22 17:15:12 -060094SortIncludes: true
95SortUsingDeclarations: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053096SpaceAfterCStyleCast: false
Patrick Williams1334b7b2021-02-22 17:15:12 -060097SpaceAfterTemplateKeyword: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +053098SpaceBeforeAssignmentOperators: true
Patrick Williams1334b7b2021-02-22 17:15:12 -060099SpaceBeforeCpp11BracedList: false
100SpaceBeforeCtorInitializerColon: true
101SpaceBeforeInheritanceColon: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530102SpaceBeforeParens: ControlStatements
Patrick Williams1334b7b2021-02-22 17:15:12 -0600103SpaceBeforeRangeBasedForLoopColon: true
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530104SpaceInEmptyParentheses: false
105SpacesBeforeTrailingComments: 1
106SpacesInAngles: false
107SpacesInContainerLiterals: true
108SpacesInCStyleCastParentheses: false
109SpacesInParentheses: false
110SpacesInSquareBrackets: false
Patrick Williams1334b7b2021-02-22 17:15:12 -0600111Standard: Latest
Ratan Guptaaaf87de2018-04-16 15:25:13 +0530112TabWidth: 4
113UseTab: Never
114...
115