mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
Use an empty ArrayRef instead of an empty std::vector for the Function::get overload that takes no parameters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
06c6d9aeb0
commit
8aa0f9042d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user