We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c56dc3d commit ce0b32fCopy full SHA for ce0b32f
clang/lib/Driver/ToolChains/SYCL.cpp
@@ -1665,7 +1665,7 @@ void SYCLToolChain::AddImpliedTargetArgs(const llvm::Triple &Triple,
1665
Args.AddAllArgValues(TargArgs, options::OPT_Xs, options::OPT_Xs_separate);
1666
Args.AddAllArgValues(TargArgs, options::OPT_Xsycl_backend);
1667
// Check for any -device settings.
1668
- std::string DevArg("");
+ std::string DevArg;
1669
if (IsJIT || Device == "pvc" || hasPVCDevice(TargArgs, DevArg)) {
1670
// The -device option passed in by the user may not be 'pvc'. Use the
1671
// value provided by the user if it was specified.
0 commit comments