[flang-commits] [PATCH] D115165: [flang] Remove runtime check from OpenFile::Close()

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Dec 7 09:44:13 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5034e1730f7a: [flang] Remove runtime check from OpenFile::Close() (authored by klausler).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115165/new/

https://reviews.llvm.org/D115165

Files:
  flang/runtime/file.cpp


Index: flang/runtime/file.cpp
===================================================================
--- flang/runtime/file.cpp
+++ flang/runtime/file.cpp
@@ -157,7 +157,6 @@
 }
 
 void OpenFile::Close(CloseStatus status, IoErrorHandler &handler) {
-  CheckOpen(handler);
   pending_.reset();
   knownSize_.reset();
   switch (status) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115165.392441.patch
Type: text/x-patch
Size: 334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20211207/1ce00db7/attachment.bin>


More information about the flang-commits mailing list