summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-07-05 19:34:19 +0000
committerCraig Topper <craig.topper@gmail.com>2013-07-05 19:34:19 +0000
commit6b9240e058bf3451685df73fc8ce181b3046e92b (patch)
tree2e60a360f4e557653212f97e76468883c944e2e8 /lib/CodeGen/CGCall.cpp
parent889221076f50fe7df37e2e61c967e941b8df383a (diff)
downloadclang-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.cpp2
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();