Skip to content

Commit dbe228e

Browse files
committed
Add missing case
1 parent 65d4ddc commit dbe228e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftCompilerSources/Sources/SIL/Argument.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ public enum ArgumentConvention : CustomStringConvertible {
464464

465465
public var isConsumed: Bool {
466466
switch self {
467-
case .indirectIn, .directOwned, .packOwned:
467+
case .indirectIn, .indirectInCXX, .directOwned, .packOwned:
468468
return true
469469
case .indirectInGuaranteed, .directGuaranteed, .packGuaranteed,
470470
.indirectInout, .indirectInoutAliasable, .indirectOut,

0 commit comments

Comments
 (0)