diff options
author | John McCall <rjmccall@apple.com> | 2011-05-15 02:19:42 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-05-15 02:19:42 +0000 |
commit | 42e06119496e84e74cfc60230b18fcb53b35eb1c (patch) | |
tree | b9e3d85e6f5cc81e062f105c3894cc0cf02555b7 /lib/CodeGen/CodeGenTypes.h | |
parent | 0774cb84719f2aea3016493a2bbd9a02aa3e0541 (diff) |
More killing of std::vector.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r-- | lib/CodeGen/CodeGenTypes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h index dc383cb4db..ff1eb4c45b 100644 --- a/lib/CodeGen/CodeGenTypes.h +++ b/lib/CodeGen/CodeGenTypes.h @@ -220,8 +220,9 @@ public: // These are internal details of CGT that shouldn't be used externally. /// GetExpandedTypes - Expand the type \arg Ty into the LLVM /// argument types it would be passed as on the provided vector \arg /// ArgTys. See ABIArgInfo::Expand. - void GetExpandedTypes(QualType Ty, std::vector<const llvm::Type*> &ArgTys, - bool IsRecursive); + void GetExpandedTypes(QualType type, + llvm::SmallVectorImpl<const llvm::Type*> &expanded, + bool isRecursive); /// IsZeroInitializable - Return whether a type can be /// zero-initialized (in the C++ sense) with an LLVM zeroinitializer. |