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/AST/ExternalASTSource.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/AST/ExternalASTSource.cpp')
-rw-r--r-- | clang/lib/AST/ExternalASTSource.cpp | 2 |
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), |