diff options
author | Anders Carlsson <andersca@mac.com> | 2011-04-18 14:02:06 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-04-18 14:02:06 +0000 |
commit | 43c361ff2e9a426dfb7bed2807921f79a9e6d21b (patch) | |
tree | d4faf5969d3f5fd6d3b7228c88fa940d6d6080be /include/llvm/DerivedTypes.h | |
parent | f051c1a29dd040b4b5ca0c5696d47a9058f87481 (diff) |
Make the empty StructType::get overload use an empty ArrayRef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DerivedTypes.h')
-rw-r--r-- | include/llvm/DerivedTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 0402d469f3..f1cb33039f 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -250,7 +250,7 @@ public: /// StructType::get - Create an empty structure type. /// static StructType *get(LLVMContext &Context, bool isPacked=false) { - return get(Context, std::vector<const Type*>(), isPacked); + return get(Context, llvm::ArrayRef<const Type*>(), isPacked); } /// StructType::get - This static method is a convenience method for |