From: David Blaikie Date: Tue, 21 Jul 2015 18:59:10 +0000 (+0000) Subject: Fix GCC build due to shadowing X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=023aebc1a3f2ac0ecbfe2e4d8955fc1a801a9270;p=clang Fix GCC build due to shadowing git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242826 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 7c2548b504..80929ab55c 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -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); }