mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Implement debug info for willset/didset, and teach dispatch to be non-virtual
to didset/will set since we don't drop these in the class vtable. Swift SVN r13056
This commit is contained in:
@@ -3095,6 +3095,9 @@ public:
|
||||
/// isGetterOrSetter - Determine whether this is a getter or a setter vs.
|
||||
/// a normal function.
|
||||
bool isGetterOrSetter() const { return isGetter() || isSetter(); }
|
||||
bool isDidSetWillSet() const {
|
||||
return getAccessorKind() == IsDidSet || getAccessorKind() == IsWillSet;
|
||||
}
|
||||
bool isAccessor() const { return getAccessorKind() != NotAccessor; }
|
||||
|
||||
/// Creates the implicit 'DynamicSelf' generic parameter.
|
||||
|
||||
Reference in New Issue
Block a user