Kill [stdlib] attribute.

Now that we have true serialized modules, the standard library can import
the Builtin module without any special direction (beyond -parse-stdlib),
and anyone can include those modules without special direction.

Swift SVN r6752
This commit is contained in:
Jordan Rose
2013-07-30 21:27:42 +00:00
parent 21785c8a36
commit 3e7eef56e7
17 changed files with 28 additions and 77 deletions

View File

@@ -39,16 +39,11 @@ public:
/// \param path A sequence of (identifier, location) pairs that denote
/// the dotted module name to load, e.g., AppKit.NSWindow.
///
/// \param isStdlibImport True if this is a [stdlib] import. FIXME: this
/// should be removed when we have real binary modules and/or build system
/// support.
///
/// \returns the module referenced, if it could be loaded. Otherwise,
/// emits a diagnostic and returns NULL.
virtual
Module *loadModule(SourceLoc importLoc,
ArrayRef<std::pair<Identifier, SourceLoc>> path,
bool isStdlibImport) = 0;
ArrayRef<std::pair<Identifier, SourceLoc>> path) = 0;
/// \brief Look for declarations associated with the given name.
///