[clang] 6a6af02 - [Clang] Remove unused TC variable
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 12 05:09:15 PDT 2024
Author: Joseph Huber
Date: 2024-10-12T07:09:03-05:00
New Revision: 6a6af0246bd2d68291582e9aefc0543e5c6102fe
URL: https://github.com/llvm/llvm-project/commit/6a6af0246bd2d68291582e9aefc0543e5c6102fe
DIFF: https://github.com/llvm/llvm-project/commit/6a6af0246bd2d68291582e9aefc0543e5c6102fe.diff
LOG: [Clang] Remove unused TC variable
Added:
Modified:
clang/lib/Driver/ToolChains/HIPUtility.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/HIPUtility.cpp b/clang/lib/Driver/ToolChains/HIPUtility.cpp
index a23858e5f90978..d4d324fb339c45 100644
--- a/clang/lib/Driver/ToolChains/HIPUtility.cpp
+++ b/clang/lib/Driver/ToolChains/HIPUtility.cpp
@@ -340,7 +340,6 @@ void HIP::constructHIPFatbinCommand(Compilation &C, const JobAction &JA,
void HIP::constructGenerateObjFileFromHIPFatBinary(
Compilation &C, const InputInfo &Output, const InputInfoList &Inputs,
const ArgList &Args, const JobAction &JA, const Tool &T) {
- const ToolChain &TC = T.getToolChain();
std::string Name = std::string(llvm::sys::path::stem(Output.getFilename()));
// Create Temp Object File Generator,
More information about the cfe-commits
mailing list