Thread [exported] through TranslationUnit and the Serialization library.

This still doesn't do anything yet.

Swift SVN r7051
This commit is contained in:
Jordan Rose
2013-08-08 19:09:21 +00:00
parent 093a428ca9
commit a35f7cbd4b
9 changed files with 48 additions and 38 deletions

View File

@@ -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;