mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[serialization] Validate the control block -- is the module too new?
Not so interesting right now, but eventually we'll be validating other things as well, and it's best not to have FIXMEs lying around. Swift SVN r5175
This commit is contained in:
@@ -50,13 +50,6 @@ public:
|
||||
/// emits a diagnostic and returns NULL.
|
||||
virtual Module *
|
||||
loadModule(SourceLoc importLoc, Module::AccessPathTy path) override;
|
||||
|
||||
private:
|
||||
/// Report an error in reading a module file.
|
||||
///
|
||||
/// \returns A dummy module, to prevent reloadeding
|
||||
// FIXME: This should move to a dedicated Reader class.
|
||||
Module *error(std::pair<Identifier, SourceLoc> importLoc);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user