Revert "Serialize local types and provide a lookup API"

Changing the design of this to maintain more local context
information and changing the lookup API.

This reverts commit 4f2ff1819064dc61c20e31c7c308ae6b3e6615d0.

Swift SVN r24432
This commit is contained in:
David Farler
2015-01-15 00:33:10 +00:00
parent c5830745d7
commit cad9f99929
44 changed files with 194 additions and 1177 deletions

View File

@@ -166,10 +166,6 @@ public:
DeclName name, NLKind lookupKind,
SmallVectorImpl<ValueDecl*> &results) const override;
virtual TypeDecl *lookupLocalType(llvm::StringRef FileHash,
unsigned int LocalDiscriminator,
llvm::StringRef Name) const override;
virtual OperatorDecl *lookupOperator(Identifier name,
DeclKind fixity) const override;
@@ -188,8 +184,6 @@ public:
virtual void getTopLevelDecls(SmallVectorImpl<Decl*> &results) const override;
virtual void getLocalTypeDecls(SmallVectorImpl<Decl *> &results) const override;
virtual void getDisplayDecls(SmallVectorImpl<Decl*> &results) const override;
virtual void
@@ -200,7 +194,6 @@ public:
collectLinkLibraries(Module::LinkLibraryCallback callback) const override;
Identifier getDiscriminatorForPrivateValue(const ValueDecl *D) const override;
Identifier getDiscriminatorForLocalValue(const ValueDecl *D) const override;
virtual StringRef getFilename() const override;