[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

@@ -615,8 +615,8 @@ initCloned(SILOptFunctionBuilder &FuncBuilder, SILFunction *Orig,
for (auto &Attr : Orig->getSemanticsAttrs()) {
Fn->addSemanticsAttr(Attr);
}
if (!Orig->hasQualifiedOwnership()) {
Fn->setUnqualifiedOwnership();
if (!Orig->hasOwnership()) {
Fn->setOwnershipEliminated();
}
return Fn;
}