Upgrade frontend & libs to v2.094.0-beta.1

This commit is contained in:
Martin Kinkelin 2020-09-11 21:05:08 +02:00
parent 4ec8fc0089
commit f202c851ae
102 changed files with 4769 additions and 2400 deletions

View file

@ -93,7 +93,7 @@ llvm::FunctionType *DtoFunctionType(Type *type, IrFuncTy &irFty, Type *thistype,
newIrFty.ret = new IrFuncTyArg(Type::tint32, false);
} else {
Type *rt = f->next;
const bool byref = f->isref && rt->toBasetype()->ty != Tvoid;
const bool byref = f->isref() && rt->toBasetype()->ty != Tvoid;
llvm::AttrBuilder attrs;
if (abi->returnInArg(f, fd && fd->needThis())) {
@ -134,7 +134,7 @@ llvm::FunctionType *DtoFunctionType(Type *type, IrFuncTy &irFty, Type *thistype,
bool hasObjCSelector = false;
if (fd && fd->linkage == LINKobjc && thistype) {
if (fd->selector) {
if (fd->objc.selector) {
hasObjCSelector = true;
} else if (fd->parent->isClassDeclaration()) {
fd->error("Objective-C `@selector` is missing");