@@ -486,6 +486,32 @@ class alignas(1 << DeclContextAlignInBits) DeclContext {
486
486
LazyResolver *typeResolver,
487
487
SmallVectorImpl<ValueDecl *> &decls) const ;
488
488
489
+ // / Look for the set of declarations with the given name within the
490
+ // / given set of type declarations.
491
+ // /
492
+ // / \param types The type declarations to look into.
493
+ // /
494
+ // / \param member The member to search for.
495
+ // /
496
+ // / \param options Options that control name lookup, based on the
497
+ // / \c NL_* constants in \c NameLookupOptions.
498
+ // /
499
+ // / \param[out] decls Will be populated with the declarations found by name
500
+ // / lookup.
501
+ // /
502
+ // / \returns true if anything was found.
503
+ bool lookupQualified (ArrayRef<TypeDecl *> types, DeclName member,
504
+ NLOptions options,
505
+ SmallVectorImpl<ValueDecl *> &decls) const ;
506
+
507
+ // / Perform qualified lookup for the given member in the given module.
508
+ bool lookupQualified (ModuleDecl *module , DeclName member, NLOptions options,
509
+ SmallVectorImpl<ValueDecl *> &decls) const ;
510
+
511
+ // / Perform \c AnyObject lookup for the given member.
512
+ bool lookupAnyObject (DeclName member, NLOptions options,
513
+ SmallVectorImpl<ValueDecl *> &decls) const ;
514
+
489
515
// / Look up all Objective-C methods with the given selector visible
490
516
// / in the enclosing module.
491
517
void lookupAllObjCMethods (
0 commit comments