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