[PATCH] D95465: [flang][driver] Fix reading from stdin when using `-test-io`

Faris Rehman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 07:52:58 PST 2021


FarisRehman accepted this revision.
FarisRehman added a comment.
This revision is now accepted and ready to land.

Thanks for working on this @awarzynski!
I've left a comment on the test but otherwise looks good to me.



================
Comment at: flang/test/Flang-Driver/input-from-stdin.f90:16
+!---------------------------------------
+! Test `-test-io` - the driver handles the file I/O for the corresponding action (`InputOutputTestAction`)
+! RUN: cat %s | flang-new -fc1 -E | FileCheck %s --check-prefix=PP-NOT-DEFINED
----------------
Comment corresponds to the wrong section


================
Comment at: flang/test/Flang-Driver/input-from-stdin.f90:20
+
+! Test `-E` - the driver relies on the prescanner API for handling file I/O for
+! the corresponding action (`PrintPreprocessedAction`)
----------------
Comment corresponds to the wrong section


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95465



More information about the llvm-commits mailing list