Home
last modified time | relevance | path

Searched refs:FuncExp (Results 1 – 25 of 46) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dexpression.c1687 FuncExp *fe = (FuncExp *)a; in functionParameters()
3256 e = new FuncExp(loc, fld); in resolve()
4555 FuncExp::FuncExp(Loc loc, Dsymbol *s) in FuncExp() function
4556 : Expression(loc, TOKfunction, sizeof(FuncExp)) in FuncExp()
4570 bool FuncExp::equals(RootObject *o) in equals()
4578 FuncExp *fe = (FuncExp *)o; in equals()
4584 void FuncExp::genIdent(Scope *sc) in genIdent()
4626 Expression *FuncExp::syntaxCopy() in syntaxCopy()
4629 return new FuncExp(loc, td->syntaxCopy(NULL)); in syntaxCopy()
4631 return new FuncExp(loc, fd->syntaxCopy(NULL)); in syntaxCopy()
[all …]
H A Ddelegatize.c64 e = new FuncExp(loc, fld); in toDelegate()
H A Dcond.c140 FuncExp *fe = new FuncExp(loc, fd); in wrapAndCall()
H A Ddtemplate.c164 if (((FuncExp *)ea)->td) in getDsymbol()
165 sa = ((FuncExp *)ea)->td; in getDsymbol()
167 sa = ((FuncExp *)ea)->fd; in getDsymbol()
470 return (size_t)(void *) ((FuncExp *)e)->fd; in expressionHash()
2020 if (((FuncExp *)ea)->td) in declareParameter()
2021 sa = ((FuncExp *)ea)->td; in declareParameter()
2023 sa = ((FuncExp *)ea)->fd; in declareParameter()
4418 void visit(FuncExp *e) in deduceType()
4790 void visit(FuncExp *) in reliesOnTident()
6898 FuncExp *fe = (FuncExp *)ea; in semanticTiargs()
[all …]
H A Ddeclaration.c365 Expression *e = new FuncExp(loc, aliassym); in aliasSemantic()
369 FuncExp *fe = (FuncExp *)e; in aliasSemantic()
1517 FuncDeclaration *f = ((FuncExp *)ex)->fd; in semantic()
H A Ddcast.c117 void visit(FuncExp *e) in implicitCastTo()
120 FuncExp *fe; in implicitCastTo()
977 void visit(FuncExp *e) in implicitConvTo()
2257 void visit(FuncExp *e) in castTo()
2260 FuncExp *fe; in castTo()
2457 void visit(FuncExp *fe) in inferType()
H A Dexpression.h629 class FuncExp : public Expression
636 FuncExp(Loc loc, Dsymbol *s);
640 MATCH matchType(Type *to, Scope *sc, FuncExp **pfe, int flag = 0);
H A Dvisitor.h203 class FuncExp; variable
497 virtual void visit(FuncExp *e) { visit((Expression *)e); } in visit()
H A Dinitsem.c190 Expression *e = new FuncExp(i->loc, fd); in visit()
H A Descape.c804 void visit(FuncExp *e) in escapeByValue()
H A Dexpressionsem.c1544 void visit(FuncExp *exp) in visit()
1587 FuncExp *fe; in visit()
1650 Expression *callExpSemantic(FuncExp *exp, Scope *sc, Expressions *arguments) in callExpSemantic()
2775 FuncExp *fe = (FuncExp *)exp->e1; in visit()
3356 assert(((FuncExp *)exp->e1)->fd); in visit()
3357 exp->f = ((FuncExp *)exp->e1)->fd; in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddelegatize.d69 e = new FuncExp(loc, fld); in toDelegate()
H A Dexpression.h156 FuncExp* isFuncExp();
606 class FuncExp : public Expression
614 FuncExp *syntaxCopy();
H A Dlambdacomp.d477 override void visit(FuncExp) { buf.setsize(0); } in visit() argument
H A Dvisitor.h211 class FuncExp; variable
482 virtual void visit(FuncExp *e) { visit((Expression *)e); } in visit()
H A Ddcast.d164 Expression visitFunc(FuncExp e) in implicitCastTo()
167 FuncExp fe; in implicitCastTo()
1058 MATCH visitFunc(FuncExp e) in implicitConvTo()
2504 Expression visitFunc(FuncExp e) in visitFunc()
2507 FuncExp fe; in visitFunc()
2710 Expression visitFun(FuncExp fe) in visitFun()
H A Dstatementsem.d876 FuncExp flde = foreachBodyToFunction(sc2, fs, tfld); in package()
1384 (cast(FuncExp)flde).fd.tookAddressOf = 1; in package()
1389 … ++(cast(FuncExp)flde).fd.tookAddressOf; // allocate a closure unless the opApply() uses 'scope' in package()
1616 static FuncExp foreachBodyToFunction(Scope* sc, ForeachStatement fs, TypeFunction tfld) in package()
1672 Expression flde = new FuncExp(fs.loc, fld); in package()
1677 return cast(FuncExp)flde; in package()
4404 auto fe = cast(FuncExp)e; in makeTupleForeach()
H A Ddtemplate.d2291 if ((cast(FuncExp)ea).td) in declareParameter()
2292 sa = (cast(FuncExp)ea).td; in declareParameter()
2294 sa = (cast(FuncExp)ea).fd; in declareParameter()
4798 override void visit(FuncExp e) in visit()
5151 override void visit(FuncExp e) in reliesOnTemplateParameters()
6712 FuncExp fe = cast(FuncExp)ea; in semanticTiargs()
7258 if ((cast(FuncExp)ea).td) in hasNestedArgs()
7259 sa = (cast(FuncExp)ea).td; in hasNestedArgs()
7261 sa = (cast(FuncExp)ea).fd; in hasNestedArgs()
H A Dexpression.d1651 … inout(FuncExp) isFuncExp() { return op == EXP.function_ ? cast(typeof(return))this : null; } in isFuncExp()
3771 extern (C++) final class FuncExp : Expression
3779 super(loc, EXP.function_, __traits(classInstanceSize, FuncExp)); in this()
3852 override FuncExp syntaxCopy() in syntaxCopy()
3855 return new FuncExp(loc, td.syntaxCopy(null)); in syntaxCopy()
3857 return new FuncExp(loc, fd.syntaxCopy(null)); in syntaxCopy()
3860 return new FuncExp(loc, fd); in syntaxCopy()
3863 extern (D) MATCH matchType(Type to, Scope* sc, FuncExp* presult, int flag = 0)
4016 (*presult) = cast(FuncExp)copy();
H A Dcond.d199 auto fe = new FuncExp(loc, fd); in private()
H A Dparsetimevisitor.d190 void visit(AST.FuncExp e) { visit(cast(AST.Expression)e); } in ParseTimeVisitor()
H A Ddmangle.d972 override void visit(FuncExp e) in visit()
H A Dtransitivevisitor.d990 override void visit(AST.FuncExp e) in ParseVisitMethods()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A DChangeLog-2016811 (FuncExp::toDt): Likewise.
849 (ExprVisitor::visit(FuncExp)): Likewise.
895 (ExprVisitor::visit(FuncExp)): Likewise.
998 * d-elem.cc (FuncExp::toElem): Use the real function pointer type when
H A DChangeLog-2013413 (FuncExp::toElem): Relax type checking to allow returning function
837 (FuncExp::toElem): Likewise.
845 * d-elem.cc (FuncExp::toElem): Defer function literals and lambdas

12