llvm-project/flang/test
Emil Kieri 577827cbbf [flang][driver] Make --version and -version consistent with clang
This patch makes -version valid, and --version invalid, for
flang-new -fc1. The invocation
  flang-new --version
remains valid. This behaviour is consistent with clang
(and with clang -cc1 and clang -cc1as).

Previously, flang-new -fc1 accepted --version (as per Options.td), but
the frontend driver acutally checks for -version. As a result,
  flang-new -fc1 --version
triggered no action, emitted no message, and stalled waiting for
standard input.

Fixes #51438

Reviewed By: PeteSteinfeld, awarzynski

Differential Revision: https://reviews.llvm.org/D122542
2022-03-28 22:53:17 +02:00
..
Driver [flang][driver] Make --version and -version consistent with clang 2022-03-28 22:53:17 +02:00
Evaluate [flang] Fold NEAREST() and its relatives 2022-03-28 11:33:40 -07:00
Examples [flang][Parser] Add a node for individual sections in sections construct 2022-03-18 21:55:35 +05:30
Fir [flang][codegen] ensure descriptor lower bounds are LBOUND compliant 2022-03-25 09:02:57 +01:00
Frontend [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
Lower [Flang] Options to lower math intrinsics to relaxed, precise variants 2022-03-28 17:17:51 +00:00
NonGtestUnit Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00
Parser [flang][Parser] Add a node for individual sections in sections construct 2022-03-18 21:55:35 +05:30
Preprocessing [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
Runtime
Semantics [flang] Fix bogus error from assignment to CLASS(*) 2022-03-25 11:17:01 -07:00
Unit Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00
CMakeLists.txt [flang][NFC] Add module lowering tests 2022-03-23 17:51:09 +01:00
lit.cfg.py [flang][driver] Add support for -S and implement -c/-emit-obj 2022-03-09 15:48:09 +00:00
lit.site.cfg.py.in Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00