r242826 - Fix GCC build due to shadowing
David Blaikie
dblaikie at gmail.com
Tue Jul 21 11:59:10 PDT 2015
Author: dblaikie
Date: Tue Jul 21 13:59:10 2015
New Revision: 242826
URL: http://llvm.org/viewvc/llvm-project?rev=242826&view=rev
Log:
Fix GCC build due to shadowing
Modified:
cfe/trunk/lib/CodeGen/CodeGenFunction.h
Modified: cfe/trunk/lib/CodeGen/CodeGenFunction.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenFunction.h?rev=242826&r1=242825&r2=242826&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenFunction.h (original)
+++ cfe/trunk/lib/CodeGen/CodeGenFunction.h Tue Jul 21 13:59:10 2015
@@ -3006,8 +3006,8 @@ public:
"Extra arguments in non-variadic function!");
// If we still have any arguments, emit them using the type of the argument.
- for (auto *Arg : llvm::make_range(Arg, ArgRange.end()))
- ArgTypes.push_back(getVarArgType(Arg));
+ for (auto *A : llvm::make_range(Arg, ArgRange.end()))
+ ArgTypes.push_back(getVarArgType(A));
EmitCallArgs(Args, ArgTypes, ArgRange, CalleeDecl, ParamsToSkip);
}
More information about the cfe-commits
mailing list