diff options
author | Joseph Huber <huberjn@outlook.com> | 2025-02-13 08:13:45 -0600 |
---|---|---|
committer | Joseph Huber <huberjn@outlook.com> | 2025-02-13 08:14:12 -0600 |
commit | c4ed95c85bf8ef900cff6444f8f3c97495b1b7bc (patch) | |
tree | 850ae736472908c20e59d8e72ba8a76e2ac5fb36 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | f63e3b15f90e17a3708adda0a0b3ea180a41501b (diff) | |
download | llvm-c4ed95c85bf8ef900cff6444f8f3c97495b1b7bc.zip llvm-c4ed95c85bf8ef900cff6444f8f3c97495b1b7bc.tar.gz llvm-c4ed95c85bf8ef900cff6444f8f3c97495b1b7bc.tar.bz2 |
[Flang] Fix leftover use of 'OPT_nogpulib'
Summary:
This didn't show up as a failure in precommit and I don't build flang so
this slipped by.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | flang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp index 3eb413e..d4d3971 100644 --- a/flang/lib/Frontend/CompilerInvocation.cpp +++ b/flang/lib/Frontend/CompilerInvocation.cpp @@ -1092,7 +1092,7 @@ static bool parseOpenMPArgs(CompilerInvocation &res, llvm::opt::ArgList &args, args.hasArg(clang::driver::options::OPT_fopenmp_target_debug)) res.getLangOpts().OpenMPTargetDebug = 1; } - if (args.hasArg(clang::driver::options::OPT_nogpulib)) + if (args.hasArg(clang::driver::options::OPT_no_offloadlib)) res.getLangOpts().NoGPULib = 1; } |