Skip to content

Commit 5c3116e

Browse files
author
Hugh Delaney
committed
Respond to comments
1 parent 8146781 commit 5c3116e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4982,11 +4982,9 @@ class OffloadingActionBuilder final {
49824982
// objects together.
49834983
if (TC->getTriple().isNVPTX() && NumOfDeviceLibLinked) {
49844984
std::string LibSpirvFile;
4985-
if (Args.hasArg(clang::driver::options::OPT_fsycl_libspirv_path_EQ)) {
4985+
if (Args.hasArg(options::OPT_fsycl_libspirv_path_EQ)) {
49864986
auto ProvidedPath =
4987-
Args.getLastArgValue(
4988-
clang::driver::options::OPT_fsycl_libspirv_path_EQ)
4989-
.str();
4987+
Args.getLastArgValue(options::OPT_fsycl_libspirv_path_EQ).str();
49904988
if (llvm::sys::fs::exists(ProvidedPath))
49914989
LibSpirvFile = ProvidedPath;
49924990
} else {

0 commit comments

Comments
 (0)