blob: 52ac0a17d460aa36f5d7067e6e117cab19927369 [file] [log] [blame]
Jayanth Othayothb618ccb2018-10-22 21:55:29 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Jayanth Othayothc0449582021-04-08 02:52:27 -05008AlignEscapedNewlines: Right
Jayanth Othayothb618ccb2018-10-22 21:55:29 -05009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Jayanth Othayothc0449582021-04-08 02:52:27 -050019AlwaysBreakTemplateDeclarations: Yes
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Jayanth Othayothc0449582021-04-08 02:52:27 -050023 AfterCaseLabel: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Jayanth Othayothc0449582021-04-08 02:52:27 -050032 AfterExternBlock: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Jayanth Othayothc0449582021-04-08 02:52:27 -050036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Jayanth Othayothc0449582021-04-08 02:52:27 -050043BreakInheritanceList: AfterColon
44BreakStringLiterals: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Jayanth Othayothc0449582021-04-08 02:52:27 -050047CompactNamespaces: false
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
52DerivePointerAlignment: false
53PointerAlignment: Left
54DisableFormat: false
55ExperimentalAutoDetectBinPacking: false
56FixNamespaceComments: true
57ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
58IncludeBlocks: Regroup
59IncludeCategories:
60 - Regex: '^[<"](gtest|gmock)'
Jayanth Othayothc0449582021-04-08 02:52:27 -050061 Priority: 7
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050062 - Regex: '^"config.h"'
63 Priority: -1
Jayanth Othayothc0449582021-04-08 02:52:27 -050064 - Regex: '^".*\.h"'
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050065 Priority: 1
Jayanth Othayothc0449582021-04-08 02:52:27 -050066 - Regex: '^".*\.hpp"'
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050067 Priority: 2
Jayanth Othayothc0449582021-04-08 02:52:27 -050068 - Regex: '^<.*\.h>'
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050069 Priority: 3
Jayanth Othayothc0449582021-04-08 02:52:27 -050070 - Regex: '^<.*\.hpp>'
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050071 Priority: 4
Jayanth Othayothc0449582021-04-08 02:52:27 -050072 - Regex: '^<.*'
73 Priority: 5
74 - Regex: '.*'
75 Priority: 6
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050076IndentCaseLabels: 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
93ReflowComments: true
94SortIncludes: true
95SortUsingDeclarations: true
96SpaceAfterCStyleCast: false
Jayanth Othayothc0449582021-04-08 02:52:27 -050097SpaceAfterTemplateKeyword: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -050098SpaceBeforeAssignmentOperators: true
Jayanth Othayothc0449582021-04-08 02:52:27 -050099SpaceBeforeCpp11BracedList: false
100SpaceBeforeCtorInitializerColon: true
101SpaceBeforeInheritanceColon: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500102SpaceBeforeParens: ControlStatements
Jayanth Othayothc0449582021-04-08 02:52:27 -0500103SpaceBeforeRangeBasedForLoopColon: true
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500104SpaceInEmptyParentheses: false
105SpacesBeforeTrailingComments: 1
106SpacesInAngles: false
107SpacesInContainerLiterals: true
108SpacesInCStyleCastParentheses: false
109SpacesInParentheses: false
110SpacesInSquareBrackets: false
Jayanth Othayothc0449582021-04-08 02:52:27 -0500111Standard: Latest
Jayanth Othayothb618ccb2018-10-22 21:55:29 -0500112TabWidth: 4
113UseTab: Never
114...
115