[clang] [clang-sycl-linker][NFC] Drop SYCL/device qualifiers from generic link step (PR #199777)

Alexey Bader via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 15:51:05 PDT 2026


================
@@ -319,8 +311,8 @@ Expected<LinkResult> linkDeviceCode(ArrayRef<std::string> InputFiles,
     return createStringError(
         "Target triple must be specified or inferable from inputs");
 
-  // Link in SYCL device library files.
-  for (auto &File : *SYCLDeviceLibFiles) {
+  // Link in device library files.
----------------
bader wrote:

```suggestion
  // Link in library files.
```

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


More information about the cfe-commits mailing list