[clang] [flang] [Flang][Driver] Add -print-resource-dir command line flag to emit Flang's resource directory (PR #90886)
Michael Klemm via cfe-commits
cfe-commits at lists.llvm.org
Fri May 3 04:02:39 PDT 2024
================
@@ -5474,7 +5474,7 @@ def print_prog_name_EQ : Joined<["-", "--"], "print-prog-name=">,
Visibility<[ClangOption, CLOption]>;
def print_resource_dir : Flag<["-", "--"], "print-resource-dir">,
HelpText<"Print the resource directory pathname">,
- Visibility<[ClangOption, CLOption]>;
+ Visibility<[ClangOption, CLOption, FlangOption]>;
----------------
mjklemm wrote:
You're correct that user-friendliness should be preferred. I have updated the text to be more explicit about where the path printed will point to.
https://github.com/llvm/llvm-project/pull/90886
More information about the cfe-commits
mailing list