projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f051c1a
)
Make the empty StructType::get overload use an empty ArrayRef.
author
Anders Carlsson
<andersca@mac.com>
Mon, 18 Apr 2011 14:02:06 +0000
(14:02 +0000)
committer
Anders Carlsson
<andersca@mac.com>
Mon, 18 Apr 2011 14:02:06 +0000
(14:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129696
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/DerivedTypes.h
patch
|
blob
|
history
diff --git
a/include/llvm/DerivedTypes.h
b/include/llvm/DerivedTypes.h
index 0402d469f341feebfa6d5f68c2f8392057829def..f1cb33039f812462d2bbc76eb0f0da1dd2ef0341 100644
(file)
--- 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