blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Jayanth Othayoth0af74a52021-04-08 03:55:21 -05008AlignEscapedNewlines: Right
Patrick Williams78e88402023-05-10 07:50:48 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams78e88402023-05-10 07:50:48 -050014AllowShortBlocksOnASingleLine: Empty
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams78e88402023-05-10 07:50:48 -050016AllowShortFunctionsOnASingleLine: Empty
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050021AlwaysBreakTemplateDeclarations: Yes
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050025 AfterCaseLabel: true
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050034 AfterExternBlock: true
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams78e88402023-05-10 07:50:48 -050041BreakAfterAttributes: Never
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050046BreakInheritanceList: AfterColon
Patrick Williams78e88402023-05-10 07:50:48 -050047BreakStringLiterals: false
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050050CompactNamespaces: false
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams78e88402023-05-10 07:50:48 -050055DeriveLineEnding: false
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050065 Priority: 7
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050066 - Regex: '^"config.h"'
67 Priority: -1
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050068 - Regex: '^".*\.h"'
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050069 Priority: 1
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050070 - Regex: '^".*\.hpp"'
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050071 Priority: 2
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050072 - Regex: '^<.*\.h>'
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050073 Priority: 3
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050074 - Regex: '^<.*\.hpp>'
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050075 Priority: 4
Jayanth Othayoth0af74a52021-04-08 03:55:21 -050076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050080IndentCaseLabels: true
Patrick Williams78e88402023-05-10 07:50:48 -050081IndentRequiresClause: true
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams78e88402023-05-10 07:50:48 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams78e88402023-05-10 07:50:48 -050095PenaltyBreakAssignment: 25
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -050096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams78e88402023-05-10 07:50:48 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -0500105ReflowComments: true
Patrick Williams78e88402023-05-10 07:50:48 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -0500108SortIncludes: true
109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
Jayanth Othayoth0af74a52021-04-08 03:55:21 -0500111SpaceAfterTemplateKeyword: true
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -0500112SpaceBeforeAssignmentOperators: true
Jayanth Othayoth0af74a52021-04-08 03:55:21 -0500113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -0500116SpaceBeforeParens: ControlStatements
Jayanth Othayoth0af74a52021-04-08 03:55:21 -0500117SpaceBeforeRangeBasedForLoopColon: true
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -0500118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Jayanth Othayoth0af74a52021-04-08 03:55:21 -0500125Standard: Latest
Jayanth Othayothcb65ffc2018-10-16 08:29:32 -0500126TabWidth: 4
127UseTab: Never
128...
129