https://github.com/bader updated https://github.com/llvm/llvm-project/pull/161564
>From 1d76d92ae8b358466815479f25ffbed5d18fe385 Mon Sep 17 00:00:00 2001 From: Alexey Bader <[email protected]> Date: Wed, 1 Oct 2025 11:15:27 -0700 Subject: [PATCH 1/2] [clang-sycl-linker][NFC] Remove dead includes These includes are not used by ClangSYCLLinker.cpp directly. --- clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp b/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp index 8dd993fb04362..bef4e551d9dda 100644 --- a/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp +++ b/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp @@ -27,22 +27,15 @@ #include "llvm/LTO/LTO.h" #include "llvm/Linker/Linker.h" #include "llvm/MC/TargetRegistry.h" -#include "llvm/Object/Archive.h" -#include "llvm/Object/ArchiveWriter.h" #include "llvm/Object/Binary.h" -#include "llvm/Object/ELFObjectFile.h" #include "llvm/Object/IRObjectFile.h" -#include "llvm/Object/ObjectFile.h" #include "llvm/Object/OffloadBinary.h" #include "llvm/Option/ArgList.h" #include "llvm/Option/OptTable.h" #include "llvm/Option/Option.h" -#include "llvm/Remarks/HotnessThresholdParser.h" #include "llvm/Support/CommandLine.h" -#include "llvm/Support/FileOutputBuffer.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/InitLLVM.h" -#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Path.h" #include "llvm/Support/Program.h" #include "llvm/Support/Signals.h" >From f98757e2d7678dc70b8acf48c23a70000dfb4bae Mon Sep 17 00:00:00 2001 From: Alexey Bader <[email protected]> Date: Wed, 1 Oct 2025 14:31:37 -0700 Subject: [PATCH 2/2] Include FormatVariadic.h for formatv declaration. --- clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp b/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp index bef4e551d9dda..594c79a28047b 100644 --- a/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp +++ b/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp @@ -35,6 +35,7 @@ #include "llvm/Option/Option.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/FileSystem.h" +#include "llvm/Support/FormatVariadic.h" #include "llvm/Support/InitLLVM.h" #include "llvm/Support/Path.h" #include "llvm/Support/Program.h" _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
