mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Thread operator lookup through Module to ModuleLoader...
...even though Swift modules don't provide this lookup yet, and Clang modules never will. Swift SVN r5173
This commit is contained in:
@@ -82,6 +82,15 @@ public:
|
||||
/// \param result Will be populated with the results of name lookup.
|
||||
virtual void lookupMembers(Module *module, Type base, Identifier name,
|
||||
SmallVectorImpl<ValueDecl*> &result) { }
|
||||
|
||||
/// \brief Look for a declaration of the given operator.
|
||||
///
|
||||
/// \returns The operator decl, or null if this module does not define the
|
||||
/// operator in question.
|
||||
virtual OperatorDecl *lookupOperator(Module *module, Identifier name,
|
||||
DeclKind fixity) {
|
||||
return nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user