mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SIL] InitAccessors: Add a way to retrieve a name of the property referenced by assign_or_init instruction
This is going to be used by DI diagnostics.
This commit is contained in:
@@ -4925,6 +4925,7 @@ public:
|
||||
ArrayRef<Operand> getAllOperands() const { return Operands.asArray(); }
|
||||
MutableArrayRef<Operand> getAllOperands() { return Operands.asArray(); }
|
||||
|
||||
StringRef getPropertyName() const;
|
||||
AccessorDecl *getReferencedInitAccessor() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user