Fix GCC build due to shadowing
llvm-svn: 242826
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 7c2548b..80929ab 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -3006,8 +3006,8 @@
"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);
}