From fd7c2198e4e9cf73688d4bc13e31ae3a893c1e04 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 21 Jul 2015 18:59:10 +0000 Subject: [PATCH] Fix GCC build due to shadowing llvm-svn: 242826 --- clang/lib/CodeGen/CodeGenFunction.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 7c2548b5046c..80929ab55c62 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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); }