Implement Clang importer support for finding Objective-C methods by selector.

This functionality doesn’t really change what we accept right now, because we eagerly import all of the methods of a class when we do *any* kind of lookup into the class. However, when we manage to stop doing that, this operation will become more important.

Swift SVN r23289
This commit is contained in:
Doug Gregor
2014-11-12 23:18:42 +00:00
parent 2aef2c3c7d
commit f204351e7e
6 changed files with 101 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ public:
ObjCSelector selector,
bool isInstanceMethod,
unsigned previousGeneration,
llvm::TinyPtrVector<AbstractFunctionDecl *> &methods) { }
llvm::TinyPtrVector<AbstractFunctionDecl *> &methods) = 0;
/// \brief Verify all modules loaded by this loader.
virtual void verifyAllModules() { }