mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[sil] Rename QualifiedOwnership => Ownership.
Done using Xcode's refactoring engine.
This commit is contained in:
@@ -514,7 +514,7 @@ void SILBuilder::emitShallowDestructureValueOperation(
|
||||
}
|
||||
|
||||
// Otherwise, we want to destructure add the destructure and return.
|
||||
if (getFunction().hasQualifiedOwnership()) {
|
||||
if (getFunction().hasOwnership()) {
|
||||
auto *DI = emitDestructureValueOperation(Loc, V);
|
||||
copy(DI->getResults(), std::back_inserter(Results));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user