[PATCH] D88108: [flang][driver] Fix options flang in the frontend driver

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 00:45:10 PDT 2020


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG99edb9b79c46: [flang][driver] Fix options flag in the frontend driver (authored by awarzynski).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88108/new/

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.293960.patch
Type: text/x-patch
Size: 627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200924/6f102aa6/attachment.bin>


More information about the llvm-commits mailing list