r331438 - Fix -Wunused-variable warning in Clang.cpp
Karl-Johan Karlsson via cfe-commits
cfe-commits at lists.llvm.org
Wed May 2 22:53:29 PDT 2018
Author: karka
Date: Wed May 2 22:53:29 2018
New Revision: 331438
URL: http://llvm.org/viewvc/llvm-project?rev=331438&view=rev
Log:
Fix -Wunused-variable warning in Clang.cpp
Modified:
cfe/trunk/lib/Driver/ToolChains/Clang.cpp
Modified: cfe/trunk/lib/Driver/ToolChains/Clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Clang.cpp?rev=331438&r1=331437&r2=331438&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/Clang.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/Clang.cpp Wed May 2 22:53:29 2018
@@ -1485,7 +1485,7 @@ void Clang::AddAArch64TargetArgs(const A
CmdArgs.push_back("-aarch64-enable-global-merge=true");
}
- if (Arg *A = Args.getLastArg(options::OPT_foutline)) {
+ if (Args.getLastArg(options::OPT_foutline)) {
CmdArgs.push_back("-mllvm");
CmdArgs.push_back("-enable-machine-outliner");
}
More information about the cfe-commits
mailing list