We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 533a085 commit a93cacfCopy full SHA for a93cacf
clang/lib/Driver/Driver.cpp
@@ -1940,12 +1940,6 @@ int Driver::ExecuteCompilation(
1940
void Driver::PrintHelp(bool ShowHidden) const {
1941
llvm::opt::Visibility VisibilityMask = getOptionVisibilityMask();
1942
1943
- // TODO: We're overriding the mask for flang here to keep this NFC for the
1944
- // option refactoring, but what we really need to do is annotate the flags
1945
- // that Flang uses.
1946
- if (IsFlangMode())
1947
- VisibilityMask = llvm::opt::Visibility(options::FlangOption);
1948
-
1949
std::string Usage = llvm::formatv("{0} [options] file...", Name).str();
1950
getOpts().printHelp(llvm::outs(), Usage.c_str(), DriverTitle.c_str(),
1951
ShowHidden, /*ShowAllAliases=*/false,
0 commit comments