This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG89053e495903: [flang][driver] Partial revert of D157837 (authored by awarzynski).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D158289/new/ https://reviews.llvm.org/D158289 Files: clang/lib/Driver/Driver.cpp Index: clang/lib/Driver/Driver.cpp =================================================================== --- clang/lib/Driver/Driver.cpp +++ clang/lib/Driver/Driver.cpp @@ -6494,8 +6494,8 @@ return llvm::opt::Visibility(options::CLOption); if (IsDXCMode()) return llvm::opt::Visibility(options::DXCOption); - if (IsFlangMode()) { - return llvm::opt::Visibility(options::FlangOption); + if (IsFlangMode()) { + return llvm::opt::Visibility(options::ClangOption | options::FlangOption); } return llvm::opt::Visibility(options::ClangOption); }
Index: clang/lib/Driver/Driver.cpp =================================================================== --- clang/lib/Driver/Driver.cpp +++ clang/lib/Driver/Driver.cpp @@ -6494,8 +6494,8 @@ return llvm::opt::Visibility(options::CLOption); if (IsDXCMode()) return llvm::opt::Visibility(options::DXCOption); - if (IsFlangMode()) { - return llvm::opt::Visibility(options::FlangOption); + if (IsFlangMode()) { + return llvm::opt::Visibility(options::ClangOption | options::FlangOption); } return llvm::opt::Visibility(options::ClangOption); }
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits