| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | template.h | 134 virtual RootObject *defaultArg(const Loc &instLoc, Scope *sc) = 0; 157 RootObject *defaultArg(const Loc &instLoc, Scope *sc); 189 RootObject *defaultArg(const Loc &instLoc, Scope *sc); 210 RootObject *defaultArg(const Loc &instLoc, Scope *sc); 227 RootObject *defaultArg(const Loc &instLoc, Scope *sc);
|
| H A D | dtemplate.d | 1180 param.defaultArg = null; in matchWithInstance() 1609 if (p.defaultArg) in deduceFunctionTemplateMatch() 1702 if (p.defaultArg) in deduceFunctionTemplateMatch() 1706 if (fparam.defaultArg) in deduceFunctionTemplateMatch() 1721 if (!fparam.defaultArg) in deduceFunctionTemplateMatch() 1788 oded = tparam.defaultArg(instLoc, paramscope); in deduceFunctionTemplateMatch() 1818 farg = fparam.defaultArg.syntaxCopy(); in deduceFunctionTemplateMatch() 2171 oded = tparam.defaultArg(instLoc, paramscope); in deduceFunctionTemplateMatch() 2407 params.defaultArg = null; in doHeaderInstantiation() 5346 abstract RootObject defaultArg(const ref Loc instLoc, Scope* sc); [all …]
|
| H A D | json.d | 403 if (p.defaultArg) in property() 404 property("default", p.defaultArg.toString()); in property()
|
| H A D | mtype.h | 565 Expression *defaultArg; variable 569 Expression *defaultArg, UserAttributeDeclaration *userAttribDecl);
|
| H A D | typesem.d | 471 return (t != p.type || p.defaultArg || p.ident || p.userAttribDecl) in stripDefaultArgs() 1273 Expression e = fparam.defaultArg; in typeSemantic() 1313 fparam.defaultArg = e; in typeSemantic() 1393 stc, narg.type, narg.ident, narg.defaultArg, narg.userAttribDecl); in typeSemantic() 1550 if (oparam.defaultArg) in typeSemantic() 1566 TupleExp te = oparam.defaultArg.isTupleExp(); in typeSemantic() 1568 eparam.defaultArg = (*te.exps)[0]; in typeSemantic() 1573 TupleExp te = oparam.defaultArg.isTupleExp(); in typeSemantic() 1575 eparam.defaultArg = (*te.exps)[eidx - tupleExtIdx]; in typeSemantic() 1587 (*mtype.fargs)[eidx] : eparam.defaultArg; in typeSemantic()
|
| H A D | transitivevisitor.d | 1199 if (p.defaultArg) in ParseVisitMethods() 1200 p.defaultArg.accept(this); in ParseVisitMethods()
|
| H A D | mtype.d | 4641 … if (parameterList.varargs == VarArg.none && nparams > nargs && !parameterList[nargs].defaultArg) 4690 if (p.defaultArg) 6781 Expression defaultArg; variable 6784 …extern (D) this(StorageClass storageClass, Type type, Identifier ident, Expression defaultArg, Use… in this() argument 6789 this.defaultArg = defaultArg; in this() 6793 …ate(StorageClass storageClass, Type type, Identifier ident, Expression defaultArg, UserAttributeDe… in create() argument 6795 return new Parameter(storageClass, type, ident, defaultArg, userAttribDecl); in create() 6800 … Parameter(storageClass, type ? type.syntaxCopy() : null, ident, defaultArg ? defaultArg.syntaxCop… in syntaxCopy()
|
| H A D | dtoh.d | 2325 if (p.defaultArg) 2329 printExpressionFor(p.type, p.defaultArg);
|
| H A D | clone.d | 1597 if (dim == 1 || (dim > 1 && tf.parameterList[1].defaultArg)) in needCopyCtor()
|
| H A D | hdrgen.d | 3223 if (p.defaultArg) in parameterToBuffer() 3226 p.defaultArg.expToBuffer(PREC.assign, buf, hgs); in parameterToBuffer()
|
| H A D | dsymbolsem.d | 4038 else if (dim && tf.parameterList[0].defaultArg) in visit() 4051 else if ((dim == 1 || (dim > 1 && tf.parameterList[1].defaultArg))) in visit() 4070 if (sd && sd.hasCopyCtor && (dim == 1 || (dim > 1 && tf.parameterList[1].defaultArg))) in visit()
|
| H A D | expressionsem.d | 1751 if (!p.defaultArg) in functionParameters() 1757 arg = p.defaultArg; in functionParameters() 4145 if (p.defaultArg) in callExpSemantic() 5654 … if (e.tok2 == TOK.parameters && arg.defaultArg && arg.defaultArg.op == EXP.error) in visit() 5656 …= TOK.parameters) ? arg.ident : null, (e.tok2 == TOK.parameters) ? arg.defaultArg : null, arg.user… in visit()
|
| H A D | func.d | 2465 p.defaultArg = null; // won't be the same with ref in buildEnsureRequire()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | template.h | 151 virtual RootObject *defaultArg(Loc instLoc, Scope *sc) = 0; 185 RootObject *defaultArg(Loc instLoc, Scope *sc); 226 RootObject *defaultArg(Loc instLoc, Scope *sc); 254 RootObject *defaultArg(Loc instLoc, Scope *sc); 275 RootObject *defaultArg(Loc instLoc, Scope *sc);
|
| H A D | json.c | 417 if (p->defaultArg) in property() 418 property("default", p->defaultArg->toChars()); in property()
|
| H A D | mtype.h | 935 Expression *defaultArg; variable 937 Parameter(StorageClass storageClass, Type *type, Identifier *ident, Expression *defaultArg); 938 …arameter *create(StorageClass storageClass, Type *type, Identifier *ident, Expression *defaultArg);
|
| H A D | dtemplate.c | 948 (*tf->parameters)[i]->defaultArg = NULL; in matchWithInstance() 1443 if (p->defaultArg) in deduceFunctionTemplateMatch() 1457 if (!fparam->defaultArg) in deduceFunctionTemplateMatch() 1522 oded = tparam->defaultArg(instLoc, paramscope); in deduceFunctionTemplateMatch() 1553 farg = fparam->defaultArg->syntaxCopy(); in deduceFunctionTemplateMatch() 1896 oded = tparam->defaultArg(instLoc, paramscope); in deduceFunctionTemplateMatch() 2686 (*tf->parameters)[i]->defaultArg = NULL; in doHeaderInstantiation() 4991 oarg = defaultArg(instLoc, sc); in matchArg() 5168 RootObject *TemplateTypeParameter::defaultArg(Loc, Scope *sc) in defaultArg() function 5436 RootObject *TemplateAliasParameter::defaultArg(Loc, Scope *sc) in defaultArg() function [all …]
|
| H A D | mtype.c | 1560 if (ta != p->type || p->defaultArg || p->ident) in stripDefaultArgs() 5662 if (fparam->defaultArg) in semantic() 5664 Expression *e = fparam->defaultArg; in semantic() 5693 fparam->defaultArg = e; in semantic() 5739 stc, narg->type, narg->ident, narg->defaultArg); in semantic() 6040 if (p->defaultArg) in callMatch() 9326 …ameter::Parameter(StorageClass storageClass, Type *type, Identifier *ident, Expression *defaultArg) in Parameter() argument 9331 this->defaultArg = defaultArg; in Parameter() 9334 …Parameter::create(StorageClass storageClass, Type *type, Identifier *ident, Expression *defaultArg) in create() argument 9336 return new Parameter(storageClass, type, ident, defaultArg); in create() [all …]
|
| H A D | hdrgen.c | 3139 if (p->defaultArg) in visit() 3142 p->defaultArg->accept(this); in visit()
|
| H A D | expressionsem.c | 1670 if (p->defaultArg) in callExpSemantic() 2049 if (e->tok2 == TOKparameters && arg->defaultArg && in visit() 2050 arg->defaultArg->op == TOKerror) in visit() 2054 … (e->tok2 == TOKparameters) ? arg->defaultArg : NULL)); in visit()
|
| H A D | expression.c | 1448 if (!p->defaultArg) in functionParameters() 1455 arg = p->defaultArg; in functionParameters()
|
| H A D | func.c | 4887 else if (dim && Parameter::getNth(tf->parameters, 0)->defaultArg) in semantic()
|