diff options
| author | Craig Topper <craig.topper@gmail.com> | 2013-07-05 19:34:19 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2013-07-05 19:34:19 +0000 |
| commit | 6b9240e058bf3451685df73fc8ce181b3046e92b (patch) | |
| tree | 2e60a360f4e557653212f97e76468883c944e2e8 /lib/CodeGen/CGCall.cpp | |
| parent | 889221076f50fe7df37e2e61c967e941b8df383a (diff) | |
| download | clang-6b9240e058bf3451685df73fc8ce181b3046e92b.tar.gz clang-6b9240e058bf3451685df73fc8ce181b3046e92b.tar.bz2 clang-6b9240e058bf3451685df73fc8ce181b3046e92b.tar.xz | |
Use SmallVectorImpl& for function arguments instead of SmallVector.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
| -rw-r--r-- | lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 7d6077396a..9ed50ec67d 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -2178,7 +2178,7 @@ static void checkArgMatches(llvm::Value *Elt, unsigned &ArgNo, } void CodeGenFunction::ExpandTypeToArgs(QualType Ty, RValue RV, - SmallVector<llvm::Value*,16> &Args, + SmallVectorImpl<llvm::Value *> &Args, llvm::FunctionType *IRFuncTy) { if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { unsigned NumElts = AT->getSize().getZExtValue(); |
