commit | 6f567ae7025498011d5894bc0ec99f4fe4edcbe2 | [log] [tgz] |
---|---|---|
author | swift-ci <swift-ci@users.noreply.github.com> | Mon Jun 05 10:03:22 2017 -0700 |
committer | swift-ci <swift-ci@users.noreply.github.com> | Mon Jun 05 10:03:22 2017 -0700 |
tree | 9fd7b25ac21d78820167c7e7c73a18b8e4078ad3 | |
parent | f1584846812b22d69fa7521d0e8e7e199c224161 [diff] | |
parent | e81c789660fb5b1c4f04712271cbd734ab44b8a2 [diff] |
Merge remote-tracking branch 'origin/swift-4.0-branch' into stable
diff --git a/lib/Serialization/ASTReader.cpp b/lib/Serialization/ASTReader.cpp index 039bbcc..90f08e7 100644 --- a/lib/Serialization/ASTReader.cpp +++ b/lib/Serialization/ASTReader.cpp
@@ -3616,6 +3616,8 @@ if (EC) return; OS << "Timestamp file\n"; + OS.close(); + OS.clear_error(); // Avoid triggering a fatal error. } /// \brief Given a cursor at the start of an AST file, scan ahead and drop the