mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Lift nested type lookup fast-pathing up to FileUnit.
We use this to avoid circularity issues in serialization; we'd like to extend that to the Clang importer. This is only necessary because we can't look up a single member at a time, but it can still fix issues in the short term. This commit should have no effect on functionality.
This commit is contained in:
@@ -132,6 +132,10 @@ public:
|
||||
|
||||
virtual TypeDecl *lookupLocalType(StringRef MangledName) const override;
|
||||
|
||||
virtual TypeDecl *
|
||||
lookupNestedType(Identifier name,
|
||||
const NominalTypeDecl *parent) const override;
|
||||
|
||||
virtual OperatorDecl *lookupOperator(Identifier name,
|
||||
DeclKind fixity) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user