Home
last modified time | relevance | path

Searched refs:DotVarExp (Results 1 – 25 of 52) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dclone.c282 Expression *ec2 = new DotVarExp(loc, new VarExp(loc, tmp), sd->dtor, false); in buildOpAssign()
302 new DotVarExp(loc, new ThisExp(loc), v), in buildOpAssign()
303 new DotVarExp(loc, new IdentifierExp(loc, Id::p), v)); in buildOpAssign()
828 ex = new DotVarExp(loc, ex, v); in buildPostBlit()
837 ex = new DotVarExp(loc, ex, sdv->postblit, false); in buildPostBlit()
849 ex = new DotVarExp(loc, ex, v); in buildPostBlit()
880 ex = new DotVarExp(loc, ex, v); in buildPostBlit()
889 ex = new DotVarExp(loc, ex, sdv->dtor, false); in buildPostBlit()
901 ex = new DotVarExp(loc, ex, v); in buildPostBlit()
956 ex = new DotVarExp(loc, ex, fd, false); in buildPostBlit()
[all …]
H A Dsafe.c38 DotVarExp *dve = (DotVarExp *)e; in checkUnsafeAccess()
H A Descape.c210 e1 = ((DotVarExp *)e1)->e1; in checkAssignEscape()
787 void visit(DotVarExp *e) in escapeByValue()
972 DotVarExp *dve = (DotVarExp *)e->e1; in escapeByValue()
1099 void visit(DotVarExp *e) in escapeByRef()
1179 DotVarExp *dve = (DotVarExp *)e->e1; in escapeByRef()
H A Dexpressionsem.c823 e = new DotVarExp(exp->loc, new ThisExp(exp->loc), ve->var, false); in visit()
2524 void visit(DotVarExp *exp) in visit()
2558 e = new DotVarExp(exp->loc, ev, s->isDeclaration()); in visit()
2761 exp->e1 = new DotVarExp(de->loc, de->e1, de->func, de->hasOverloads); in visit()
2867 exp->e1 = new DotVarExp(exp->loc, se->e1, od, true); in visit()
3016 e = new DotVarExp(exp->loc, e, cf, true); in visit()
3112 DotVarExp *dve; in visit()
3117 dve = (DotVarExp *)(exp->e1); in visit()
3197 exp->e1 = new DotVarExp(exp->loc, dte->e1, exp->f, false); in visit()
3276 exp->e1 = new DotVarExp(exp->e1->loc, exp->e1, exp->f, false); in visit()
[all …]
H A Dexpression.c102 e1 = new DotVarExp(loc, e1, tcd->vthis);
371 DotVarExp *dve = (DotVarExp *)e1;
618 DotVarExp *dve = (DotVarExp *)e1; in resolvePropertiesOnly()
1088 e = new DotVarExp(exp->loc, exp, d); in expandAliasThisTuples()
1253 DotVarExp *dve = (DotVarExp *)ce->e1; in valueNoDtor()
3247 e = new DotVarExp(loc, new ThisExp(loc), v); in resolve()
3319 e = new DotVarExp(loc, new ThisExp(loc), tup); in resolve()
5265 DotVarExp::DotVarExp(Loc loc, Expression *e, Declaration *var, bool hasOverloads) in DotVarExp() function
5266 : UnaExp(loc, TOKdotvar, sizeof(DotVarExp), e) in DotVarExp()
5273 bool DotVarExp::isLvalue() in isLvalue()
[all …]
H A Dctfeexpr.c382 new(&ue) DotVarExp(e->loc, ((DotVarExp *)e)->e1, in copyLiteral()
383 ((DotVarExp *)e)->var, ((DotVarExp *)e)->hasOverloads); in copyLiteral()
715 Expression *ex = ((DotVarExp *)e)->e1; in getAggregateFromPointer()
716 VarDeclaration *v = ((DotVarExp *)e)->var->isVarDeclaration(); in getAggregateFromPointer()
1959 Expression *eagg = ((DotVarExp *)newval)->e1; in isCtfeReferenceValid()
H A Dmtype.c2136 DotVarExp *dv = (DotVarExp *)ex; in dotExp()
6610 sym = ((DotVarExp *)e)->var; in semantic()
7383 … : exp->op == TOKdotvar ? ((DotVarExp *)exp)->var->isFuncDeclaration() : NULL) in resolve()
7922 ex = new DotVarExp(e->loc, ev, v); in dotExp()
8071 e = new DotVarExp(e->loc, new ThisExp(e->loc), d); in dotExp()
8096 e = new DotVarExp(e->loc, e, d); in dotExp()
8486 ex = new DotVarExp(e->loc, ev, v); in dotExp()
8610 DotVarExp *dve = new DotVarExp(e->loc, e, sym->vthis); in dotExp()
8642 DotVarExp *dve = new DotVarExp(e->loc, e, sym->vthis); in dotExp()
8785 e = new DotVarExp(e->loc, e, d); in dotExp()
[all …]
H A Dtraits.c74 e = new DotVarExp(Loc(), p->e1, ad, false); in fptraits()
826 DotVarExp *dve = (DotVarExp *)ex; in semanticTraits()
H A Dexpression.h815 class DotVarExp : public UnaExp
821 DotVarExp(Loc loc, Expression *e, Declaration *var, bool hasOverloads = true);
1528 char dotvarexp [sizeof(DotVarExp)];
H A Dvisitor.h217 class DotVarExp; variable
511 virtual void visit(DotVarExp *e) { visit((UnaExp *)e); } in visit()
H A Ddinterpret.c3153 e = ((DotVarExp *)e)->e1; in findParentVar()
3602 DotVarExp *dve = (DotVarExp*)e1x;
3664 Expression *ex = ((DotVarExp *)e1)->e1; in assignToLvalue()
3669 VarDeclaration *v = ((DotVarExp *)e1)->var->isVarDeclaration(); in assignToLvalue()
4628 DotVarExp *dve = (DotVarExp *)ecall; in visit()
5993 void visit(DotVarExp *e) in visit()
6005 new(pue) DotVarExp(e->loc, ex, f, false); in visit()
6067 new(pue) DotVarExp(e->loc, ex, v); in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dclone.d332 auto e4 = new CallExp(loc, new DotVarExp(loc, new VarExp(loc, swap), sd.dtor, false)); in buildOpAssign()
357 new DotVarExp(loc, new ThisExp(loc), v), in buildOpAssign()
358 new DotVarExp(loc, new IdentifierExp(loc, Id.p), v)); in buildOpAssign()
918 ex = new DotVarExp(loc, ex, v); in buildDtors()
926 ex = new DotVarExp(loc, ex, sdv.dtor, false); in buildDtors()
938 ex = new DotVarExp(loc, ex, v); in buildDtors()
1011 ex = new DotVarExp(loc, ex, fd, false); in buildDtors()
1269 ex = new DotVarExp(loc, ex, sf); in buildPostBlit()
1280 ex = new DotVarExp(loc, ex, sfv.dtor, false); in buildPostBlit()
1292 ex = new DotVarExp(loc, ex, sf); in buildPostBlit()
[all …]
H A Dsafe.d51 DotVarExp dve = cast(DotVarExp)e; in checkUnsafeAccess()
H A Dvisitor.d75 void visit(ASTCodegen.DotVarExp e) { visit(cast(ASTCodegen.UnaExp)e); }
175 override void visit(ASTCodegen.DotVarExp e)
H A Dexpressionsem.d793 DotVarExp dve = e1.isDotVarExp(); in resolvePropertiesOnly()
901 e = new DotVarExp(loc, new ThisExp(loc), v); in symbolToExp()
972 e = new DotVarExp(loc, new ThisExp(loc), tup); in symbolToExp()
1087 e1 = new DotVarExp(loc, e1, vthis);
1242 DotVarExp dve = e1.isDotVarExp();
3269 e = new DotVarExp(exp.loc, new ThisExp(exp.loc), ve.var, false); in visit()
4219 exp.e1 = new DotVarExp(de.loc, de.e1, de.func, de.hasOverloads); in visit()
4322 exp.e1 = new DotVarExp(exp.loc, se.e1, od, true); in visit()
4526 e = new DotVarExp(exp.loc, e, cf, true); in visit()
4645 DotVarExp dve; in visit()
[all …]
H A Descape.d476 DotVarExp dve = ce.e1.isDotVarExp(); in checkConstructorEscape()
1526 override void visit(DotVarExp e) in visit()
1736 DotVarExp dve = e.e1.isDotVarExp(); in visit()
1950 override void visit(DotVarExp e) in visit()
2029 DotVarExp dve = e.e1.isDotVarExp(); in visit()
H A Dprintast.d151 override void visit(DotVarExp e) in visit()
H A Dtypesem.d3379 DotVarExp dv = cast(DotVarExp)ex; in dotExp()
3943 ex = new DotVarExp(e.loc, ev, v); in dotExp()
4094 e = new DotVarExp(e.loc, new ThisExp(e.loc), d); in dotExp()
4117 e = new DotVarExp(e.loc, e, d); in dotExp()
4204 ex = new DotVarExp(e.loc, ev, v); in dotExp()
4334 auto dve = new DotVarExp(e.loc, e, mt.sym.vthis); in dotExp()
4367 auto dve = new DotVarExp(e.loc, e, mt.sym.vthis); in dotExp()
4511 return new DotVarExp(e.loc, classRef, d).expressionSemantic(sc); in dotExp()
4553 e = new DotVarExp(e.loc, e, d); in dotExp()
4563 e1 = new DotVarExp(e.loc, e1, vthis); in dotExp()
[all …]
H A Dimportc.d131 Expression ef = new DotVarExp(e.loc, e, s.isDeclaration()); in fieldLookup()
H A Dexpression.h167 DotVarExp* isDotVarExp();
776 class DotVarExp : public UnaExp
1386 char dotvarexp [sizeof(DotVarExp)];
H A Dlambdacomp.d278 override void visit(DotVarExp exp) in visit()
H A Dvisitor.h226 class DotVarExp; variable
638 virtual void visit(DotVarExp *e) { visit((UnaExp *)e); } in visit()
H A Dexpression.d355 auto e = new DotVarExp(exp.loc, exp, d);
577 char[__traits(classInstanceSize, DotVarExp)] dotvarexp;
634 e = (cast(DotVarExp)e).e1; in expToVariable()
1663 …inout(DotVarExp) isDotVarExp() { return op == EXP.dotVariable ? cast(typeof(return))this : null… in isDotVarExp()
4792 extern (C++) final class DotVarExp : UnaExp
4802 super(loc, EXP.dotVariable, __traits(classInstanceSize, DotVarExp), e);
4929 s = (cast(DotVarExp)e).var; in findTempDecl()
7060 auto dotVarExp = cast(DotVarExp)exp;
7097 dve = cast(DotVarExp) dve.e1;
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A DChangeLog-2008232 * dmd/expression.c (DotVarExp::semantic): Apply fix from dmd2/
234 * dmd2/expression.c (DotVarExp::semantic): Move fix to
242 * dmd2/expression.c (DotVarExp::semantic): Note change from DMD.
H A DChangeLog290 * expr.cc (ExprVisitor::visit (DotVarExp *)): Call
518 (ExprVisitor::visit (DotVarExp *)): Convert complex types to the

123