Skip to content

Commit

Permalink
Revert "Remove -fopenacc command line option (#187)"
Browse files Browse the repository at this point in the history
This reverts commit 8902936.
  • Loading branch information
ronlieb authored Oct 29, 2024
1 parent 672bfad commit ec3dc54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions clang/include/clang/Driver/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,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<[]>,
Visibility<[ClangOption, CC1Option]>,
Group<f_Group>,
HelpText<"Overrides the _OPENACC macro value for experimental testing "
"during OpenACC support development">;
Expand Down Expand Up @@ -3664,8 +3664,10 @@ def fno_openmp_target_debug : Flag<["-"], "fno-openmp-target-debug">;
//===----------------------------------------------------------------------===//
// FlangOption + FC1 + ClangOption + CC1Option
//===----------------------------------------------------------------------===//
def fopenacc : Flag<["-"], "fopenacc">, Group<f_Group>, Visibility<[]>,
let Visibility = [FC1Option, FlangOption, CC1Option, ClangOption] in {
def fopenacc : Flag<["-"], "fopenacc">, Group<f_Group>,
HelpText<"Enable OpenACC">;
} // let Visibility = [FC1Option, FlangOption, CC1Option, ClangOption]

//===----------------------------------------------------------------------===//
// Optimisation remark options
Expand Down

0 comments on commit ec3dc54

Please sign in to comment.