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