Skip to content

Commit b16a758

Browse files
committed
[flang][driver] Disable Clang options in Flang
Restore the desired setting that was reverted in https://reviews.llvm.org/D158289. This is to be merged once Fortran tests in llvm-test-suite are updated accordingly: https://reviews.llvm.org/D158308. Differential Revision: https://reviews.llvm.org/D158307
1 parent ab45b4f commit b16a758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6495,7 +6495,7 @@ Driver::getOptionVisibilityMask(bool UseDriverMode) const {
64956495
if (IsDXCMode())
64966496
return llvm::opt::Visibility(options::DXCOption);
64976497
if (IsFlangMode()) {
6498-
return llvm::opt::Visibility(options::ClangOption | options::FlangOption);
6498+
return llvm::opt::Visibility(options::FlangOption);
64996499
}
65006500
return llvm::opt::Visibility(options::ClangOption);
65016501
}

0 commit comments

Comments
 (0)