[clang] 16fe53c - [NFC][Clang] Remove unused variable "AOBFileNames"
Juan Manuel MARTINEZ CAAMAÑO via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 24 09:29:38 PDT 2023
Author: Juan Manuel MARTINEZ CAAMAÑO
Date: 2023-10-24T18:28:33+02:00
New Revision: 16fe53c47e3a83bfca9795e59aa664976620c034
URL: https://github.com/llvm/llvm-project/commit/16fe53c47e3a83bfca9795e59aa664976620c034
DIFF: https://github.com/llvm/llvm-project/commit/16fe53c47e3a83bfca9795e59aa664976620c034.diff
LOG: [NFC][Clang] Remove unused variable "AOBFileNames"
Added:
Modified:
clang/lib/Driver/ToolChains/CommonArgs.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/CommonArgs.cpp b/clang/lib/Driver/ToolChains/CommonArgs.cpp
index 6ea89d7726db2d0..484a6484a085cce 100644
--- a/clang/lib/Driver/ToolChains/CommonArgs.cpp
+++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp
@@ -2154,7 +2154,6 @@ bool tools::GetSDLFromOffloadArchive(
Lib = Lib.drop_front(2);
for (auto LPath : LibraryPaths) {
ArchiveOfBundles.clear();
- SmallVector<std::string, 2> AOBFileNames;
auto LibFile =
(Lib.startswith(":") ? Lib.drop_front()
: IsMSVC ? Lib + Ext : "lib" + Lib + Ext)
More information about the cfe-commits
mailing list