Skip to content

Commit c4ed95c

Browse files
committed
[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.
1 parent f63e3b1 commit c4ed95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Frontend/CompilerInvocation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ static bool parseOpenMPArgs(CompilerInvocation &res, llvm::opt::ArgList &args,
10921092
args.hasArg(clang::driver::options::OPT_fopenmp_target_debug))
10931093
res.getLangOpts().OpenMPTargetDebug = 1;
10941094
}
1095-
if (args.hasArg(clang::driver::options::OPT_nogpulib))
1095+
if (args.hasArg(clang::driver::options::OPT_no_offloadlib))
10961096
res.getLangOpts().NoGPULib = 1;
10971097
}
10981098

0 commit comments

Comments
 (0)