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:
@@ -88,8 +88,10 @@ public:
|
||||
public:
|
||||
Module::ImportedModule Import;
|
||||
StringRef RawAccessPath;
|
||||
bool IsExported;
|
||||
|
||||
/*implicit*/ Dependency(StringRef path) : Import(), RawAccessPath(path) {}
|
||||
Dependency(StringRef path, bool Exported)
|
||||
: Import(), RawAccessPath(path), IsExported(Exported) {}
|
||||
|
||||
bool isLoaded() const {
|
||||
return Import.second != nullptr;
|
||||
|
||||
Reference in New Issue
Block a user