Re-apply "Verify deserialized Swift decls as well as imported Clang decls."

Swift SVN r22248
This commit is contained in:
Jordan Rose
2014-09-24 00:53:36 +00:00
parent 8a886b5d07
commit 9aed764daa
7 changed files with 55 additions and 19 deletions

View File

@@ -131,6 +131,8 @@ public:
/// Note that this does not actually try to load the module or validate any
/// of its dependencies; it only checks that it /can/ be loaded.
static ValidationInfo validateSerializedAST(StringRef data);
virtual void verifyAllModules() override;
};
/// A file-unit loaded from a serialized AST file.