[all-commits] [llvm/llvm-project] 792696: [flang] Track known file size, add IsATerminal (ex...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jul 3 13:05:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7926969afc63820b123de9d6895c3913befaae1b
      https://github.com/llvm/llvm-project/commit/7926969afc63820b123de9d6895c3913befaae1b
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-07-03 (Fri, 03 Jul 2020)

  Changed paths:
    M flang/runtime/file.cpp
    M flang/runtime/file.h

  Log Message:
  -----------
  [flang] Track known file size, add IsATerminal (ext. I/O work part 5)

Add a data member knownSize_ and an accessor to allow the size of
an external file to be tracked when known.  Also add a wrapper for
::isatty() here in the filesystem encapsulation module.  These
features are needed for the external I/O rework changes still
to come.

Reviewed By: sscalpone

Differential Revision: https://reviews.llvm.org/D83141




More information about the All-commits mailing list