[all-commits] [llvm/llvm-project] b068d1: [flang] Add details to --help screen on default be...

RichBarton-Arm via All-commits all-commits at lists.llvm.org
Fri Jul 31 07:59:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b068d19a151d9d3a73b0265df27836d9fd0ad1e3
      https://github.com/llvm/llvm-project/commit/b068d19a151d9d3a73b0265df27836d9fd0ad1e3
  Author: Richard Barton <richard.barton at arm.com>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    A flang/test/Driver/help.f90
    M flang/tools/f18/f18.cpp

  Log Message:
  -----------
  [flang] Add details to --help screen on default behaviour

Add a usage string and a defaults section that clarifies:
 * If no input files are given, f18 reads from stdin
 * If no input files are given, f18 dumps the parse tree.
 * The default behaviour is to exec F18_FC.
 * The fefault F18_FC setting is 'gfortran'

Adds a simple regression test which tests the top and tail of the help
screen and the exit status.

Depends on D84855

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




More information about the All-commits mailing list