We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 839c389 commit a1a133fCopy full SHA for a1a133f
include/swift/SIL/OwnershipUtils.h
@@ -645,6 +645,11 @@ struct InteriorPointerOperand {
645
bool getImplicitUses(SmallVectorImpl<Operand *> &foundUses,
646
std::function<void(Operand *)> *onError = nullptr);
647
648
+ Operand *operator->() { return operand; }
649
+ const Operand *operator->() const { return operand; }
650
+ Operand *operator*() { return operand; }
651
+ const Operand *operator*() const { return operand; }
652
+
653
private:
654
/// Internal constructor for failable static constructor. Please do not expand
655
/// its usage since it assumes the code passed in is well formed.
0 commit comments