diff options
| -rw-r--r-- | llvm/include/llvm/DerivedTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/DerivedTypes.h b/llvm/include/llvm/DerivedTypes.h index cef7ec192d4..0402d469f34 100644 --- a/llvm/include/llvm/DerivedTypes.h +++ b/llvm/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 |

