[clang] [SYCL][Driver] Pass -lsycl by default for SYCL compilation. (PR #174877)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 13 15:06:21 PST 2026


================
@@ -7,25 +7,35 @@
 //===----------------------------------------------------------------------===//
 #include "SYCL.h"
 #include "clang/Driver/CommonArgs.h"
+#include "llvm/Support/VirtualFileSystem.h"
 
 using namespace clang::driver;
 using namespace clang::driver::toolchains;
 using namespace clang::driver::tools;
 using namespace clang;
 using namespace llvm::opt;
 
+SYCLInstallationDetector::SYCLInstallationDetector(const Driver &D)
----------------
jhuber6 wrote:

Why do we need a new constructor?

https://github.com/llvm/llvm-project/pull/174877


More information about the cfe-commits mailing list