summaryrefslogtreecommitdiffstats
path: root/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
commitc266de97e269c3747ffc2d122fe53185b541cb37 (patch)
tree70a14228156575261cd16cc68a5472d61e1d7700 /lib/AST/ExternalASTSource.cpp
parente94cb98d39fcd2cca68ab1b0d71f9a16b5e934c1 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExternalASTSource.cpp')
-rw-r--r--lib/AST/ExternalASTSource.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/AST/ExternalASTSource.cpp b/lib/AST/ExternalASTSource.cpp
index 4d66bec5d1..fd616dbc9d 100644
--- a/lib/AST/ExternalASTSource.cpp
+++ b/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),