mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 23:20:40 +03:00
Upgrade frontend & libs to v2.094.0-beta.1
This commit is contained in:
parent
4ec8fc0089
commit
f202c851ae
102 changed files with 4769 additions and 2400 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue