diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-08-24 21:56:08 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-08-24 21:56:08 +0000 |
commit | a3e59b49e7e91abd97f31e3b1402d7356ac9fd74 (patch) | |
tree | 1e9679605b8287c767c50492f1c8328ed3e4355a /clang/lib/Serialization/ChainedIncludesSource.cpp | |
parent | 4b701af908a01dc2edc36bd46947f24df4de8e68 (diff) | |
download | bcm5719-llvm-a3e59b49e7e91abd97f31e3b1402d7356ac9fd74.tar.gz bcm5719-llvm-a3e59b49e7e91abd97f31e3b1402d7356ac9fd74.zip |
Don't force the complete deserialization of the visible-declarations
table when serializing an AST file. This was a holdover from the days
before chained PCH, and is a complete waste of time and storage
now. It's a good thing it's useless, because I have no idea how I
would have implemented MaterializeVisibleDecls efficiently in the
presence of modules.
llvm-svn: 138496
Diffstat (limited to 'clang/lib/Serialization/ChainedIncludesSource.cpp')
-rw-r--r-- | clang/lib/Serialization/ChainedIncludesSource.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Serialization/ChainedIncludesSource.cpp b/clang/lib/Serialization/ChainedIncludesSource.cpp index 000e76846ec..454e4194abd 100644 --- a/clang/lib/Serialization/ChainedIncludesSource.cpp +++ b/clang/lib/Serialization/ChainedIncludesSource.cpp @@ -190,9 +190,6 @@ ChainedIncludesSource::FindExternalVisibleDeclsByName(const DeclContext *DC, DeclarationName Name) { return getFinalReader().FindExternalVisibleDeclsByName(DC, Name); } -void ChainedIncludesSource::MaterializeVisibleDecls(const DeclContext *DC) { - return getFinalReader().MaterializeVisibleDecls(DC); -} ExternalLoadResult ChainedIncludesSource::FindExternalLexicalDecls(const DeclContext *DC, bool (*isKindWeWant)(Decl::Kind), |