mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fix interface types and type lowering of DynamicSelf so archetypes don't creep in.
Allows us to invoke DynamicSelf methods of generic classes. Swift SVN r13290
This commit is contained in:
@@ -3126,6 +3126,11 @@ public:
|
||||
/// this method does not have a \c DynamicSelf return type.
|
||||
DynamicSelfType *getDynamicSelf() const;
|
||||
|
||||
/// Retrieve the \c DynamicSelf interface type for this method, or a
|
||||
/// null type if this method does not have a \c DynamicSelf return
|
||||
/// type.
|
||||
DynamicSelfType *getDynamicSelfInterface() const;
|
||||
|
||||
/// Given that this is an Objective-C method declaration, produce
|
||||
/// its selector in the given buffer (as UTF-8).
|
||||
StringRef getObjCSelector(SmallVectorImpl<char> &buffer) const;
|
||||
|
||||
Reference in New Issue
Block a user