r332734 - Fix unused variable warning in r332724
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri May 18 09:29:43 PDT 2018
Author: ioeric
Date: Fri May 18 09:29:42 2018
New Revision: 332734
URL: http://llvm.org/viewvc/llvm-project?rev=332734&view=rev
Log:
Fix unused variable warning in r332724
Modified:
cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp
Modified: cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp?rev=332734&r1=332733&r2=332734&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp Fri May 18 09:29:42 2018
@@ -1330,6 +1330,7 @@ void tools::AddHIPLinkerScript(const Too
C.getSingleOffloadToolChain<Action::OFK_HIP>());
assert(HIPTC->getTriple().getArch() == llvm::Triple::amdgcn &&
"Wrong platform");
+ (void)HIPTC;
// Construct clang-offload-bundler command to bundle object files for
// for different GPU archs.
More information about the cfe-commits
mailing list