llvm-project/flang/tools
Andrzej Warzynski 739f49ed12 [flang][driver] Fix how output filename is generated
Currently, `flang -c file.f` generates `flang_unparsed_source_file_0.o`.
This is incorrect. This patch:
  * simplifies the logic around output filename generation, and
  * makes sure that `file.o` is produced instead of e.g.
    `flang_unparsed_source_file_0.o` when using the `-c` flag

The output filename generation is moved to a dedicated function. I've
also made a few minor improvements, e.g. marked variables as local,
added comments, refined error messages.

Differential Revision: https://reviews.llvm.org/D105546
2021-07-09 19:15:12 +01:00
..
bbc [flang] Add clang-format files for FIR source (LLVM style) 2020-02-17 02:37:49 -08:00
f18 [flang][driver] Fix how output filename is generated 2021-07-09 19:15:12 +01:00
f18-parse-demo [flang] Add -fsyntax-only to f18; retain -fparse-only synonym 2021-02-03 09:01:39 -08:00
fir-opt [flang][fir] Add the pre-code gen rewrite pass and codegen ops. 2021-03-24 19:27:10 -07:00
flang-driver [clang][flang] Improve the consistency of the code-base 2021-02-25 21:25:43 +08:00
tco [mlir][Standard] NFC - Drop remaining EDSC usage 2021-05-21 10:40:39 +00:00
.clang-tidy [flang] Add clang-tidy check for braces around if 2021-06-16 09:13:53 +00:00
CMakeLists.txt [flang][fir] Add fir-opt tool 2021-02-16 11:48:40 -05:00