mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Migrate LLVM and Clang to use the new makeArrayRef(...) functions where previously explicit non-default constructors were used.
Mostly mechanical with some manual reformatting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135390 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -261,7 +261,7 @@ Type *TypeMapTy::getImpl(Type *Ty) {
|
||||
cast<PointerType>(Ty)->getAddressSpace());
|
||||
case Type::FunctionTyID:
|
||||
return *Entry = FunctionType::get(ElementTypes[0],
|
||||
ArrayRef<Type*>(ElementTypes).slice(1),
|
||||
makeArrayRef(ElementTypes).slice(1),
|
||||
cast<FunctionType>(Ty)->isVarArg());
|
||||
case Type::StructTyID:
|
||||
// Note that this is only reached for anonymous structs.
|
||||
|
Reference in New Issue
Block a user