summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-07-21 18:59:10 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-07-21 18:59:10 +0000
commitfd7c2198e4e9cf73688d4bc13e31ae3a893c1e04 (patch)
treeac9957499c0eb07944c1b7d715e87335c6eeccd4 /clang/lib/CodeGen/CodeGenFunction.h
parentf05779e21c8ff7ba320ff96cd466bde0852fe309 (diff)
downloadbcm5719-llvm-fd7c2198e4e9cf73688d4bc13e31ae3a893c1e04.tar.gz
bcm5719-llvm-fd7c2198e4e9cf73688d4bc13e31ae3a893c1e04.zip
Fix GCC build due to shadowing
llvm-svn: 242826
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 7c2548b5046..80929ab55c6 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);
}
OpenPOWER on IntegriCloud