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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user