diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-09 08:58:36 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-09 08:58:36 +0000 |
commit | 86cc82906fc57c2b7b05b9fec9f119c0c164d9ee (patch) | |
tree | c0e7636043a855544c0b0ee6089e467a7e829a12 /clang/lib/Serialization/ASTWriter.cpp | |
parent | 0f99d6a4413e3da6ec242c0ab715d6699045dea8 (diff) | |
download | bcm5719-llvm-86cc82906fc57c2b7b05b9fec9f119c0c164d9ee.tar.gz bcm5719-llvm-86cc82906fc57c2b7b05b9fec9f119c0c164d9ee.zip |
[modules] Remove now-dead code for lazy loading of files specified by -fmodule-file=.
llvm-svn: 244417
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriter.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp index 366d4b39fc5..0a731f0d942 100644 --- a/clang/lib/Serialization/ASTWriter.cpp +++ b/clang/lib/Serialization/ASTWriter.cpp @@ -877,7 +877,6 @@ void ASTWriter::WriteBlockInfoBlock() { RECORD(MODULE_NAME); RECORD(MODULE_MAP_FILE); RECORD(IMPORTS); - RECORD(KNOWN_MODULE_FILES); RECORD(LANGUAGE_OPTIONS); RECORD(TARGET_OPTIONS); RECORD(ORIGINAL_FILE); @@ -1245,15 +1244,6 @@ void ASTWriter::WriteControlBlock(Preprocessor &PP, ASTContext &Context, AddPath(M->FileName, Record); } Stream.EmitRecord(IMPORTS, Record); - - // Also emit a list of known module files that were not imported, - // but are made available by this module. - // FIXME: Should we also include a signature here? - Record.clear(); - for (auto *E : Mgr.getAdditionalKnownModuleFiles()) - AddPath(E->getName(), Record); - if (!Record.empty()) - Stream.EmitRecord(KNOWN_MODULE_FILES, Record); } // Language options. |