Skip to content

Commit

Permalink
Fix GCC build due to shadowing
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242826 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
dwblaikie committed Jul 21, 2015
1 parent fa04139 commit 023aebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/CodeGen/CodeGenFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -3006,8 +3006,8 @@ class CodeGenFunction : public CodeGenTypeCache {
"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);
}
Expand Down

0 comments on commit 023aebc

Please sign in to comment.