blob: 38b26698d26b5cf4351567d1c0d8d9e06b3cddef [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
Vijay Khemkae7d23d02019-03-08 13:13:40 -08009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Vijay Khemkad1194022020-05-27 18:58:33 -070019AlwaysBreakTemplateDeclarations: Yes
Vijay Khemkae7d23d02019-03-08 13:13:40 -080020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Vijay Khemkad1194022020-05-27 18:58:33 -070023 AfterCaseLabel: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Vijay Khemkad1194022020-05-27 18:58:33 -070032 AfterExternBlock: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Vijay Khemkad1194022020-05-27 18:58:33 -070036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Vijay Khemkad1194022020-05-27 18:58:33 -070043BreakInheritanceList: AfterColon
44BreakStringLiterals: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Vijay Khemkad1194022020-05-27 18:58:33 -070047CompactNamespaces: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Vijay Khemkad1194022020-05-27 18:58:33 -070052DerivePointerAlignment: false
Vijay Khemkae7d23d02019-03-08 13:13:40 -080053PointerAlignment: Left
54DisableFormat: false
55ExperimentalAutoDetectBinPacking: false
56FixNamespaceComments: true
57ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Vijay Khemkad1194022020-05-27 18:58:33 -070058IncludeBlocks: 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
Vijay Khemkae7d23d02019-03-08 13:13:40 -080076IndentCaseLabels: 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
Vijay Khemkae7d23d02019-03-08 13:13:40 -080093ReflowComments: true
94SortIncludes: false
Vijay Khemkad1194022020-05-27 18:58:33 -070095SortUsingDeclarations: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080096SpaceAfterCStyleCast: false
Vijay Khemkad1194022020-05-27 18:58:33 -070097SpaceAfterTemplateKeyword: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -080098SpaceBeforeAssignmentOperators: true
Vijay Khemkad1194022020-05-27 18:58:33 -070099SpaceBeforeCpp11BracedList: false
100SpaceBeforeCtorInitializerColon: true
101SpaceBeforeInheritanceColon: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800102SpaceBeforeParens: ControlStatements
Vijay Khemkad1194022020-05-27 18:58:33 -0700103SpaceBeforeRangeBasedForLoopColon: true
Vijay Khemkae7d23d02019-03-08 13:13:40 -0800104SpaceInEmptyParentheses: false
105SpacesBeforeTrailingComments: 1
106SpacesInAngles: false
107SpacesInContainerLiterals: true
108SpacesInCStyleCastParentheses: false
109SpacesInParentheses: false
110SpacesInSquareBrackets: false
111Standard: Cpp11
112TabWidth: 4
113UseTab: Never
114...
115