summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExternalASTSource.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-08-24 21:56:08 +0000
committerDouglas Gregor <dgregor@apple.com>2011-08-24 21:56:08 +0000
commita3e59b49e7e91abd97f31e3b1402d7356ac9fd74 (patch)
tree1e9679605b8287c767c50492f1c8328ed3e4355a /clang/lib/AST/ExternalASTSource.cpp
parent4b701af908a01dc2edc36bd46947f24df4de8e68 (diff)
downloadbcm5719-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/AST/ExternalASTSource.cpp')
-rw-r--r--clang/lib/AST/ExternalASTSource.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/AST/ExternalASTSource.cpp b/clang/lib/AST/ExternalASTSource.cpp
index 4d66bec5d12..fd616dbc9d2 100644
--- a/clang/lib/AST/ExternalASTSource.cpp
+++ b/clang/lib/AST/ExternalASTSource.cpp
@@ -49,8 +49,6 @@ ExternalASTSource::FindExternalVisibleDeclsByName(const DeclContext *DC,
return DeclContext::lookup_result();
}
-void ExternalASTSource::MaterializeVisibleDecls(const DeclContext *DC) { }
-
ExternalLoadResult
ExternalASTSource::FindExternalLexicalDecls(const DeclContext *DC,
bool (*isKindWeWant)(Decl::Kind),
OpenPOWER on IntegriCloud