[all-commits] [llvm/llvm-project] 34eb0a: [flang] Add -fsyntax-only to f18; retain -fparse-o...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Feb 3 09:02:13 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34eb0adaa9cd76f5bb0549f5a32d6ef452fe977e
      https://github.com/llvm/llvm-project/commit/34eb0adaa9cd76f5bb0549f5a32d6ef452fe977e
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M flang/docs/ImplementingASemanticCheck.md
    M flang/docs/Overview.md
    M flang/test/Evaluate/test_folding.sh
    M flang/test/Flang-Driver/parse-error.f95
    M flang/test/Flang-Driver/syntax-only.f90
    M flang/test/Frontend/prescanner-diag.f90
    M flang/test/Lower/pre-fir-tree01.f90
    M flang/test/Lower/pre-fir-tree02.f90
    M flang/test/Lower/pre-fir-tree03.f90
    M flang/test/Lower/pre-fir-tree04.f90
    M flang/test/Lower/pre-fir-tree05.f90
    M flang/test/Semantics/call17.f90
    M flang/test/Semantics/data05.f90
    M flang/test/Semantics/data08.f90
    M flang/test/Semantics/data09.f90
    M flang/test/Semantics/empty.f90
    M flang/test/Semantics/final02.f90
    M flang/test/Semantics/getdefinition01.f90
    M flang/test/Semantics/getdefinition02.f
    M flang/test/Semantics/getdefinition03-a.f90
    M flang/test/Semantics/getdefinition04.f90
    M flang/test/Semantics/getdefinition05.f90
    M flang/test/Semantics/getsymbols01.f90
    M flang/test/Semantics/getsymbols02.f90
    M flang/test/Semantics/getsymbols03-a.f90
    M flang/test/Semantics/getsymbols04.f90
    M flang/test/Semantics/getsymbols05.f90
    M flang/test/Semantics/missing_newline.f90
    M flang/test/Semantics/mod-file-rewriter.f90
    M flang/test/Semantics/modifiable01.f90
    M flang/test/Semantics/offsets01.f90
    M flang/test/Semantics/offsets02.f90
    M flang/test/Semantics/offsets03.f90
    M flang/test/Semantics/oldparam01.f90
    M flang/test/Semantics/oldparam02.f90
    M flang/test/Semantics/oldparam03.f90
    M flang/test/Semantics/resolve100.f90
    M flang/test/Semantics/rewrite01.f90
    M flang/test/Semantics/test_errors.sh
    M flang/test/Semantics/test_modfile.sh
    M flang/test/Semantics/typeinfo01.f90
    M flang/tools/f18-parse-demo/f18-parse-demo.cpp
    M flang/tools/f18/CMakeLists.txt
    M flang/tools/f18/f18.cpp

  Log Message:
  -----------
  [flang] Add -fsyntax-only to f18; retain -fparse-only synonym

Now that semantics is working, the standard -fsyntax-only option of
GNU and Clang should be used as the name of the option that causes
f18 to just run the front-end.  Support both options in f18, silently
accepting the old option as a synonym for the new one (as
preferred by the code owner), and replace all instances of the
old -fparse-only option with -fsyntax-only throughout the source base.

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




More information about the All-commits mailing list