[all-commits] [llvm/llvm-project] f82062: [flang][driver] Make driver accept `-module-dir<va...
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Thu May 19 04:14:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f820625503744472be8312bb70ee0da197816067
https://github.com/llvm/llvm-project/commit/f820625503744472be8312bb70ee0da197816067
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2022-05-19 (Thu, 19 May 2022)
Changed paths:
M clang/include/clang/Driver/Options.td
M flang/test/Driver/write-module.f90
Log Message:
-----------
[flang][driver] Make driver accept `-module-dir<value>`
`-module-dir` is Flang's equivalent for `-J` from GFortran (in fact,
`-J` is an alias for `-module-dir` in Flang). Currently, only
`-module-dir <value>` is accepted. However, `-J` (and other options for
specifying various paths) accepts `-J<value>` as well as `-J <value>`.
This patch makes sure that `-module-dir` behaves consistently with other
such flags.
Differential Revision: https://reviews.llvm.org/D125957
More information about the All-commits
mailing list