aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r--clang/lib/Driver/Driver.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 6f5ff81..e241706 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -1940,12 +1940,6 @@ int Driver::ExecuteCompilation(
void Driver::PrintHelp(bool ShowHidden) const {
llvm::opt::Visibility VisibilityMask = getOptionVisibilityMask();
- // TODO: We're overriding the mask for flang here to keep this NFC for the
- // option refactoring, but what we really need to do is annotate the flags
- // that Flang uses.
- if (IsFlangMode())
- VisibilityMask = llvm::opt::Visibility(options::FlangOption);
-
std::string Usage = llvm::formatv("{0} [options] file...", Name).str();
getOpts().printHelp(llvm::outs(), Usage.c_str(), DriverTitle.c_str(),
ShowHidden, /*ShowAllAliases=*/false,