diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 098374211ba707..0ed17a0f388cd5 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -1473,7 +1473,7 @@ def fno_hip_emit_relocatable : Flag<["-"], "fno-hip-emit-relocatable">, // Clang specific/exclusive options for OpenACC. def openacc_macro_override : Separate<["-"], "fexperimental-openacc-macro-override">, - Visibility<[ClangOption, CC1Option]>, + Visibility<[]>, Group, HelpText<"Overrides the _OPENACC macro value for experimental testing " "during OpenACC support development">; @@ -3649,10 +3649,8 @@ def fno_openmp_target_debug : Flag<["-"], "fno-openmp-target-debug">; //===----------------------------------------------------------------------===// // FlangOption + FC1 + ClangOption + CC1Option //===----------------------------------------------------------------------===// -let Visibility = [FC1Option, FlangOption, CC1Option, ClangOption] in { -def fopenacc : Flag<["-"], "fopenacc">, Group, +def fopenacc : Flag<["-"], "fopenacc">, Group, Visibility<[]>, HelpText<"Enable OpenACC">; -} // let Visibility = [FC1Option, FlangOption, CC1Option, ClangOption] //===----------------------------------------------------------------------===// // Optimisation remark options