Brent Royal-Gordon
cff4ddf13a
[NFC] Adopt new ImportPath types and terminology
...
# Conflicts:
# lib/IDE/CodeCompletion.cpp
2020-09-10 19:07:49 -07:00
Hamish Knight
e04b56bd67
[NameLookup] Add LookupInModuleRequest
2019-11-22 12:59:26 -08:00
Slava Pestov
2256b1fcc2
AST: Introduce namelookup::getAllImports() to replace forAllVisibleModules()
2019-08-29 15:57:38 -04:00
Slava Pestov
053c3c7d90
AST: New implementation of lookupInModule() that uses the ImportCache
...
Now that the normal name lookup shadowing can handle the module-based
shadowing rules implemented by lookupInModule(), we can drastically
simplify the implementation, replacing the graph traversal with an
iteration over the linearized graph.
2019-08-29 15:56:32 -04:00
Slava Pestov
37f308b8d3
AST: Change lookupInModule() to take a DeclContext instead of a module and extra imports
...
Also get rid of the 'accessPath' parameter.
2019-08-28 21:09:23 -04:00
Slava Pestov
d13353f43a
AST: Split off ModuleNameLookup.h from NameLookup.h
2019-08-23 23:35:25 -04:00