Use @inout result convention for mutate accessors

This commit is contained in:
Meghana Gupta
2025-10-14 15:05:25 -07:00
parent 25af94495c
commit a0c939bd3b
24 changed files with 128 additions and 42 deletions

View File

@@ -5303,7 +5303,8 @@ void ResultPlanner::execute(SmallVectorImpl<SILValue> &innerDirectResultStack,
return SGF.emitManagedCopy(Loc, resultValue, resultTL);
case ResultConvention::GuaranteedAddress:
case ResultConvention::Guaranteed:
llvm_unreachable("borrow accessor not yet implemented");
case ResultConvention::Inout:
llvm_unreachable("borrow/mutate accessor is not yet implemented");
}
llvm_unreachable("bad result convention!");
};