llvm.org GIT mirror llvm / 43c361f
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 Anders Carlsson 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
249249 /// StructType::get - Create an empty structure type.
250250 ///
251251 static StructType *get(LLVMContext &Context, bool isPacked=false) {
252 return get(Context, std::vector(), isPacked);
252 return get(Context, llvm::ArrayRef(), isPacked);
253253 }
254254
255255 /// StructType::get - This static method is a convenience method for