[PATCH] D158307: [flang][driver] Disable Clang options in Flang

Andrzej Warzynski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 02:29:53 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb16a7581ff8b: [flang][driver] Disable Clang options in Flang (authored by awarzynski).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158307

Files:
  clang/lib/Driver/Driver.cpp


Index: clang/lib/Driver/Driver.cpp
===================================================================
--- clang/lib/Driver/Driver.cpp
+++ clang/lib/Driver/Driver.cpp
@@ -6495,7 +6495,7 @@
   if (IsDXCMode())
     return llvm::opt::Visibility(options::DXCOption);
   if (IsFlangMode())  {
-    return llvm::opt::Visibility(options::ClangOption | options::FlangOption);
+    return llvm::opt::Visibility(options::FlangOption);
   }
   return llvm::opt::Visibility(options::ClangOption);
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158307.551944.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230821/83766581/attachment.bin>


More information about the cfe-commits mailing list