File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
clang/lib/Driver/ToolChains Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -350,10 +350,10 @@ void SYCL::fpga::BackendCompiler::ConstructJob(
350
350
if (types::isSrcFile (Ty) || Ty == types::TY_Object) {
351
351
// The project report is created in CWD, so strip off any directory
352
352
// information if provided with the input file.
353
- ArgName = llvm::sys::path::filename (ArgName);
353
+ StringRef TrimmedArgName = llvm::sys::path::filename (ArgName);
354
354
if (types::isSrcFile (Ty)) {
355
355
SmallString<128 > DepName (
356
- C.getDriver ().getFPGATempDepFile (std::string (ArgName )));
356
+ C.getDriver ().getFPGATempDepFile (std::string (TrimmedArgName )));
357
357
if (!DepName.empty ())
358
358
FPGADepFiles.push_back (InputInfo (types::TY_Dependencies,
359
359
Args.MakeArgString (DepName),
You can’t perform that action at this time.
0 commit comments