swift
368f8acc - [sil] Eliminate a confusing optional method result by changing type dependent operands to have OwnershipKind::None instead of returning Optional::None from Operand::getOperandOwnership().

Commit
4 years ago
[sil] Eliminate a confusing optional method result by changing type dependent operands to have OwnershipKind::None instead of returning Optional::None from Operand::getOperandOwnership(). This eliminates when talking about this API an ambiguity in between Optional::None (the C++ ADT) and OwnershipKind::None (the ownership kind).
Author
Committer
Parents
Loading