[PATCH] D88108: [flang][driver] Fix options flang in the frontend driver
Andrzej Warzynski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 22 11:10:02 PDT 2020
awarzynski created this revision.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
awarzynski requested review of this revision.
In the frontend driver we should be using FC1Option (frontend driver
options instead of FlangOption (flang driver options).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88108
Files:
flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
Index: flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
===================================================================
--- flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -22,7 +22,7 @@
if (flang->GetFrontendOpts().showHelp_) {
clang::driver::getDriverOptTable().PrintHelp(llvm::outs(),
"flang-new -fc1 [options] file...", "LLVM 'Flang' Compiler",
- /*Include=*/clang::driver::options::FlangOption,
+ /*Include=*/clang::driver::options::FC1Option,
/*Exclude=*/0, /*ShowAllAliases=*/false);
return true;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88108.293515.patch
Type: text/x-patch
Size: 627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200922/9383346c/attachment.bin>
More information about the llvm-commits
mailing list