mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Thread [exported] through TranslationUnit and the Serialization library.
This still doesn't do anything yet. Swift SVN r7051
This commit is contained in:
@@ -1974,10 +1974,12 @@ ModuleFile::ModuleFile(llvm::OwningPtr<llvm::MemoryBuffer> &&input)
|
||||
assert(scratch.empty());
|
||||
SourcePaths.push_back(blobData);
|
||||
break;
|
||||
case input_block::IMPORTED_MODULE:
|
||||
assert(scratch.empty());
|
||||
Dependencies.push_back(blobData);
|
||||
case input_block::IMPORTED_MODULE: {
|
||||
bool exported;
|
||||
input_block::ImportedModuleLayout::readRecord(scratch, exported);
|
||||
Dependencies.push_back({blobData, exported});
|
||||
break;
|
||||
}
|
||||
default:
|
||||
// Unknown input kind, possibly for use by a future version of the
|
||||
// module format.
|
||||
|
||||
Reference in New Issue
Block a user