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:
06c6d9a
)
Use an empty ArrayRef instead of an empty std::vector for the Function::get overload...
author
Anders Carlsson
<andersca@mac.com>
Mon, 18 Apr 2011 04:55:06 +0000
(
04:55
+0000)
committer
Anders Carlsson
<andersca@mac.com>
Mon, 18 Apr 2011 04:55:06 +0000
(
04:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129686
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 cef7ec192d458beb1b6e8953e16e581e37297245..0402d469f341feebfa6d5f68c2f8392057829def 100644
(file)
--- a/
include/llvm/DerivedTypes.h
+++ b/
include/llvm/DerivedTypes.h
@@
-167,7
+167,7
@@
public:
const Type *Result, ///< The result type
bool isVarArg ///< Whether this is a variable argument length function
) {
- return get(Result,
std::vector
<const Type *>(), isVarArg);
+ return get(Result,
ArrayRef
<const Type *>(), isVarArg);
}
/// isValidReturnType - Return true if the specified type is valid as a return