Skip to content

Commit 56c4c38

Browse files
authored
[Driver][NFC] Remove unused variable (#2908)
1 parent 4173f2e commit 56c4c38

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/Driver/Driver.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,6 @@ void Driver::CreateOffloadingDeviceToolChains(Compilation &C,
716716
C.addOffloadDeviceToolChain(CudaTC, OFK);
717717
} else if (IsHIP) {
718718
const ToolChain *HostTC = C.getSingleOffloadToolChain<Action::OFK_Host>();
719-
const llvm::Triple &HostTriple = HostTC->getTriple();
720719
auto OFK = Action::OFK_HIP;
721720
llvm::Triple HIPTriple = getHIPOffloadTargetTriple();
722721
// Use the HIP and host triples as the key into

0 commit comments

Comments
 (0)