[sil] Rename QualifiedOwnership => Ownership.

Done using Xcode's refactoring engine.
This commit is contained in:
Michael Gottesman
2018-12-16 15:16:40 -08:00
parent 69f6ae54f9
commit 23378cc16f
26 changed files with 128 additions and 127 deletions

View File

@@ -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;