[PATCH] D95784: [flang][f18] Introduce `-fsyntax-only` as an alias for `-fparse-only`

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 07:13:29 PST 2021


awarzynski created this revision.
awarzynski requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

`-fsntax-only` is the spelling for `-fparse-only` implemented for the
new Flang driver in [1]. It was was proposed and discussed in [2].

This patch adds `-fsyntax-only` to `f18` as an alias for `-fparse-only`.
All tests in Flang are refactored to use `-fsyntax-only` instead of
`-fparse-only`. This it to facilitate the switch to the new Flang
driver. `-fparse-only` remains supported in `f18`.

[1] https://reviews.llvm.org/D92854
[2] https://lists.llvm.org/pipermail/flang-dev/2020-November/000588.html


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95784

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95784.320458.patch
Type: text/x-patch
Size: 21127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210201/55c4b4e4/attachment.bin>


More information about the llvm-commits mailing list