Home
last modified time | relevance | path

Searched refs:hasOverloads (Results 1 – 25 of 44) sorted by relevance

12

/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/
H A Daliasthis.c44 bool hasOverloads = false; in resolveAliasThis() local
45 if (FuncDeclaration *f = fd->overloadModMatch(loc, tthis, hasOverloads)) in resolveAliasThis()
47 if (!hasOverloads) in resolveAliasThis()
49 e = new VarExp(loc, fd, hasOverloads); in resolveAliasThis()
H A Daliasthis.d109 bool hasOverloads; variable
110 if (auto f = fd.overloadModMatch(loc, tthis, hasOverloads))
112 if (!hasOverloads)
114 e = new VarExp(loc, fd, hasOverloads);
H A Dexpression.c3172 this->hasOverloads = hasOverloads; in DsymbolExp()
4338 this->hasOverloads = hasOverloads; in SymbolExp()
5270 this->hasOverloads = var->isVarDeclaration() ? false : hasOverloads; in DotVarExp()
5467 this->hasOverloads = hasOverloads; in DelegateExp()
5608 if (hasOverloads)
5609 *hasOverloads = ve->hasOverloads;
5615 if (hasOverloads)
5616 *hasOverloads = dve->hasOverloads;
5625 if (hasOverloads)
5626 *hasOverloads = soe->hasOverloads;
[all …]
H A Dfunc.d598 return faf1.equals(faf2) && fa1.hasOverloads == fa2.hasOverloads; in equals()
935 hasOverloads = false; in overloadModMatch()
939 hasOverloads = true; in overloadModMatch()
943 hasOverloads = true; in overloadModMatch()
2949 if (fa.hasOverloads)
3260 if (hasOverloads) in resolveFuncCall()
3290 if (hasOverloads) in resolveFuncCall()
3622 bool hasOverloads; variable
3630 this.hasOverloads = hasOverloads;
3631 if (hasOverloads)
[all …]
H A Dexpression.d2275 bool hasOverloads; variable
2281 this.hasOverloads = hasOverloads;
3600 bool hasOverloads; variable
3607 this.hasOverloads = hasOverloads; in this()
4793 bool hasOverloads; variable
4803 this.hasOverloads = hasOverloads;
4983 this.hasOverloads = hasOverloads;
5164 *hasOverloads = ve.hasOverloads;
5170 *hasOverloads = dve.hasOverloads;
5179 *hasOverloads = soe.hasOverloads;
[all …]
H A Dfunc.c2565 fa1->hasOverloads == fa2->hasOverloads; in equals()
2976 if (od->hasOverloads) in overloadApply()
2990 if (fa->hasOverloads) in overloadApply()
3245 hasOverloads = false; in overloadModMatch()
3249 hasOverloads = true; in overloadModMatch()
3253 hasOverloads = true; in overloadModMatch()
3579 if (hasOverloads) in resolveFuncCall()
3600 if (hasOverloads) in resolveFuncCall()
4672 this->hasOverloads = hasOverloads; in FuncAliasDeclaration()
4673 if (hasOverloads) in FuncAliasDeclaration()
[all …]
H A Ddeclaration.c703 OverDeclaration::OverDeclaration(Identifier *ident, Dsymbol *s, bool hasOverloads) in OverDeclaration() argument
709 this->hasOverloads = hasOverloads; in OverDeclaration()
710 if (hasOverloads) in OverDeclaration()
713 this->hasOverloads = od->hasOverloads; in OverDeclaration()
744 od1->hasOverloads == od2->hasOverloads; in equals()
748 if (hasOverloads) in equals()
785 if (!hasOverloads) in isUnique()
H A Ddmangle.c480 if (!fd->hasOverloads && !fa) in visit()
503 if (!od->hasOverloads || fd->isUnique()) in visit()
511 if (!od->hasOverloads || td->overnext == NULL) in visit()
H A Dinitsem.c22 FuncDeclaration *isFuncAddress(Expression *e, bool *hasOverloads = NULL);
653 bool hasOverloads = false; in visit() local
654 if (FuncDeclaration *f = isFuncAddress(init->exp, &hasOverloads)) in visit()
662 if (hasOverloads && !f->isUnique()) in visit()
H A Dexpression.h329 bool hasOverloads; variable
560 bool hasOverloads; variable
583 static VarExp *create(const Loc &loc, Declaration *var, bool hasOverloads = true);
780 bool hasOverloads; variable
804 bool hasOverloads; variable
H A Dexpressionsem.c63 FuncDeclaration *isFuncAddress(Expression *e, bool *hasOverloads = NULL);
66 Expression *resolve(Loc loc, Scope *sc, Dsymbol *s, bool hasOverloads);
448 result = resolve(e->loc, sc, e->s, e->hasOverloads); in visit()
3384 dve->hasOverloads = false; in visit()
3500 if (ve->hasOverloads) in visit()
3561 if (ve->hasOverloads) in visit()
3672 bool hasOverloads = false; in visit() local
3673 if (FuncDeclaration *f = isFuncAddress(exp, &hasOverloads)) in visit()
3675 if (!hasOverloads && f->checkForwardRef(exp->loc)) in visit()
3701 if (!dve->hasOverloads) in visit()
[all …]
H A Dinitsem.d1054 bool hasOverloads; in inferType() local
1055 if (auto f = isFuncAddress(init.exp, &hasOverloads)) in inferType()
1061 if (hasOverloads && !f.isUnique()) in inferType()
H A Ddcast.c26 FuncDeclaration *isFuncAddress(Expression *e, bool *hasOverloads = NULL);
2132 if (e->type == t && !e->hasOverloads) in castTo()
2144 ((SymOffExp *)result)->hasOverloads = false; in castTo()
2149 if (e->hasOverloads && in castTo()
2210 if (!tb->equals(typeb) || e->hasOverloads) in castTo()
H A Dexpressionsem.d919 if (!hasOverloads && f.checkForwardRef(loc)) in symbolToExp()
924 return new VarExp(loc, fd, hasOverloads); in symbolToExp()
2798 result = symbolToExp(e.s, e.loc, sc, e.hasOverloads); in visit()
4219 exp.e1 = new DotVarExp(de.loc, de.e1, de.func, de.hasOverloads); in visit()
4907 dve.hasOverloads = false; in visit()
5088 if (ve.hasOverloads) in visit()
6950 bool hasOverloads; in visit() local
6951 if (auto f = isFuncAddress(exp, &hasOverloads)) in visit()
6953 if (!hasOverloads && f.checkForwardRef(exp.loc)) in visit()
6984 if (!dve.hasOverloads) in visit()
[all …]
H A Ddeclaration.h702 bool hasOverloads; variable
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Daliasthis.c44 bool hasOverloads = false; in resolveAliasThis() local
45 if (FuncDeclaration *f = fd->overloadModMatch(loc, tthis, hasOverloads)) in resolveAliasThis()
47 if (!hasOverloads) in resolveAliasThis()
49 e = new VarExp(loc, fd, hasOverloads); in resolveAliasThis()
H A Dexpression.c3172 this->hasOverloads = hasOverloads; in DsymbolExp()
4338 this->hasOverloads = hasOverloads; in SymbolExp()
5270 this->hasOverloads = var->isVarDeclaration() ? false : hasOverloads; in DotVarExp()
5467 this->hasOverloads = hasOverloads; in DelegateExp()
5608 if (hasOverloads)
5609 *hasOverloads = ve->hasOverloads;
5615 if (hasOverloads)
5616 *hasOverloads = dve->hasOverloads;
5625 if (hasOverloads)
5626 *hasOverloads = soe->hasOverloads;
[all …]
H A Dexpression.h312 bool hasOverloads; variable
314 DsymbolExp(Loc loc, Dsymbol *s, bool hasOverloads = true);
578 bool hasOverloads; variable
579 SymbolExp(Loc loc, TOK op, int size, Declaration *var, bool hasOverloads);
591 SymOffExp(Loc loc, Declaration *var, dinteger_t offset, bool hasOverloads = true);
602 VarExp(Loc loc, Declaration *var, bool hasOverloads = true);
603 static VarExp *create(Loc loc, Declaration *var, bool hasOverloads = true);
819 bool hasOverloads; variable
821 DotVarExp(Loc loc, Expression *e, Declaration *var, bool hasOverloads = true);
846 bool hasOverloads; variable
[all …]
H A Dfunc.c2565 fa1->hasOverloads == fa2->hasOverloads; in equals()
2976 if (od->hasOverloads) in overloadApply()
2990 if (fa->hasOverloads) in overloadApply()
3245 hasOverloads = false; in overloadModMatch()
3249 hasOverloads = true; in overloadModMatch()
3253 hasOverloads = true; in overloadModMatch()
3579 if (hasOverloads) in resolveFuncCall()
3600 if (hasOverloads) in resolveFuncCall()
4672 this->hasOverloads = hasOverloads; in FuncAliasDeclaration()
4673 if (hasOverloads) in FuncAliasDeclaration()
[all …]
H A Ddeclaration.c703 OverDeclaration::OverDeclaration(Identifier *ident, Dsymbol *s, bool hasOverloads) in OverDeclaration() argument
709 this->hasOverloads = hasOverloads; in OverDeclaration()
710 if (hasOverloads) in OverDeclaration()
713 this->hasOverloads = od->hasOverloads; in OverDeclaration()
744 od1->hasOverloads == od2->hasOverloads; in equals()
748 if (hasOverloads) in equals()
785 if (!hasOverloads) in isUnique()
H A Ddeclaration.h222 bool hasOverloads; variable
224 OverDeclaration(Identifier *ident, Dsymbol *s, bool hasOverloads = true);
619 FuncDeclaration *overloadModMatch(Loc loc, Type *tthis, bool &hasOverloads);
689 bool hasOverloads; variable
691 FuncAliasDeclaration(Identifier *ident, FuncDeclaration *funcalias, bool hasOverloads = true);
H A Ddmangle.c480 if (!fd->hasOverloads && !fa) in visit()
503 if (!od->hasOverloads || fd->isUnique()) in visit()
511 if (!od->hasOverloads || td->overnext == NULL) in visit()
H A Dinitsem.c22 FuncDeclaration *isFuncAddress(Expression *e, bool *hasOverloads = NULL);
653 bool hasOverloads = false; in visit() local
654 if (FuncDeclaration *f = isFuncAddress(init->exp, &hasOverloads)) in visit()
662 if (hasOverloads && !f->isUnique()) in visit()
H A Dexpressionsem.c63 FuncDeclaration *isFuncAddress(Expression *e, bool *hasOverloads = NULL);
66 Expression *resolve(Loc loc, Scope *sc, Dsymbol *s, bool hasOverloads);
448 result = resolve(e->loc, sc, e->s, e->hasOverloads); in visit()
3384 dve->hasOverloads = false; in visit()
3500 if (ve->hasOverloads) in visit()
3561 if (ve->hasOverloads) in visit()
3672 bool hasOverloads = false; in visit() local
3673 if (FuncDeclaration *f = isFuncAddress(exp, &hasOverloads)) in visit()
3675 if (!hasOverloads && f->checkForwardRef(exp->loc)) in visit()
3701 if (!dve->hasOverloads) in visit()
[all …]
H A Ddcast.c26 FuncDeclaration *isFuncAddress(Expression *e, bool *hasOverloads = NULL);
2132 if (e->type == t && !e->hasOverloads) in castTo()
2144 ((SymOffExp *)result)->hasOverloads = false; in castTo()
2149 if (e->hasOverloads && in castTo()
2210 if (!tb->equals(typeb) || e->hasOverloads) in castTo()

12