OSDN Git Service
(root)
/
android-x86
/
external-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
0402d46
..
f1cb330
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