mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #64854 from DougGregor/top-level-macro-lookup
This commit is contained in:
@@ -733,8 +733,19 @@ public:
|
||||
///
|
||||
/// This does a simple local lookup, not recursively looking through imports.
|
||||
void lookupValue(DeclName Name, NLKind LookupKind,
|
||||
OptionSet<ModuleLookupFlags> Flags,
|
||||
SmallVectorImpl<ValueDecl*> &Result) const;
|
||||
|
||||
/// Look up a (possibly overloaded) value set at top-level scope
|
||||
/// (but with the specified access path, which may come from an import decl)
|
||||
/// within the current module.
|
||||
///
|
||||
/// This does a simple local lookup, not recursively looking through imports.
|
||||
void lookupValue(DeclName Name, NLKind LookupKind,
|
||||
SmallVectorImpl<ValueDecl*> &Result) const {
|
||||
lookupValue(Name, LookupKind, {}, Result);
|
||||
}
|
||||
|
||||
/// Look up a local type declaration by its mangled name.
|
||||
///
|
||||
/// This does a simple local lookup, not recursively looking through imports.
|
||||
|
||||
Reference in New Issue
Block a user