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:
Doug Gregor
2014-02-01 05:12:39 +00:00
parent 4269715437
commit fe2ef0e5c6
5 changed files with 25 additions and 10 deletions

View File

@@ -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;