| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | dtemplate.c | 3681 if (tparam && tparam->ty == Tinstance && t->tempinst->tempdecl) in deduceType() 3683 TemplateDeclaration *tempdecl = t->tempinst->tempdecl->isTemplateDeclaration(); in deduceType() local 3684 assert(tempdecl); in deduceType() 3690 if (!tp->tempinst->tempdecl) in deduceType() 3719 s = ti->tempdecl; in deduceType() 3732 if (td == tempdecl) in deduceType() 3740 if (!tpx->matchArg(sc, tempdecl, i, parameters, dedtypes, NULL)) in deduceType() 3743 else if (tempdecl != tp->tempinst->tempdecl) in deduceType() 3764 size_t dim = tempdecl->parameters->dim - (tempdecl->isVariadic() ? 1 : 0); in deduceType() 3765 while (i < dim && ((*tempdecl->parameters)[i]->dependent || in deduceType() [all …]
|
| H A D | cppmangle.c | 172 TemplateDeclaration *td = ti->tempdecl->isTemplateDeclaration(); in template_args() 282 if (!substitute(ti->tempdecl)) in source_name() 284 append(ti->tempdecl); in source_name() 285 const char *name = ti->tempdecl->toAlias()->ident->toChars(); in source_name() 470 if (find(p->isTemplateInstance()->tempdecl) >= 0) in cpp_mangle_name()
|
| H A D | template.h | 302 Dsymbol *tempdecl; // referenced by foo.bar.abc variable 326 TemplateInstance(Loc loc, TemplateDeclaration *tempdecl, Objects *tiargs);
|
| H A D | dsymbol.c | 590 ti->tempdecl = td; in searchX() 820 return ti->tempdecl->getModule(); in getModule() 842 return ti->tempdecl->getAccessModule(); in getAccessModule() 857 s = ti->tempdecl; in getAccessModule()
|
| H A D | expression.c | 332 if ((os = dti->ti->tempdecl->isOverloadSet()) != NULL) 334 if ((s = dti->ti->tempdecl) != NULL) 349 if (ti && !ti->semanticRun && ti->tempdecl) 356 if ((os = ti->tempdecl->isOverloadSet()) != NULL) 358 if ((s = ti->tempdecl) != NULL) 582 if (dti->ti->tempdecl && (td = dti->ti->tempdecl->isTemplateDeclaration()) != NULL) in resolvePropertiesOnly() 594 if (ti && !ti->semanticRun && ti->tempdecl) in resolvePropertiesOnly() 596 if ((td = ti->tempdecl->isTemplateDeclaration()) != NULL) in resolvePropertiesOnly() 1225 ti->tempdecl && ((TemplateDeclaration *)ti->tempdecl)->onemember && in getFuncTemplateDecl() 1226 ti->tempdecl->ident == f->ident) in getFuncTemplateDecl() [all …]
|
| H A D | dmangle.c | 347 p = ti->isTemplateMixin() ? ti->parent : ti->tempdecl->parent; in mangleParent() 587 if (!ti->tempdecl) in visit()
|
| H A D | parse.c | 2349 TemplateDeclaration *tempdecl = in parseAggregate() local 2351 return tempdecl; in parseAggregate() 2427 TemplateDeclaration *tempdecl; in parseTemplateDeclaration() local 2456 tempdecl = new TemplateDeclaration(loc, id, tpl, constraint, decldefs, ismixin); in parseTemplateDeclaration() 2457 return tempdecl; in parseTemplateDeclaration() 3824 TemplateDeclaration *tempdecl = in parseDeclarations() local 3826 s = tempdecl; in parseDeclarations() 4080 TemplateDeclaration *tempdecl = in parseDeclarations() local 4082 s = tempdecl; in parseDeclarations() 4117 TemplateDeclaration *tempdecl = in parseDeclarations() local [all …]
|
| H A D | expressionsem.c | 873 if (TemplateDeclaration *td = ti->tempdecl->isTemplateDeclaration()) in visit() 886 else if (OverloadSet *os = ti->tempdecl->isOverloadSet()) in visit() 2819 assert(ti->tempdecl); in visit() 2820 if (TemplateDeclaration *td = ti->tempdecl->isTemplateDeclaration()) in visit() 2822 else if (OverDeclaration *od = ti->tempdecl->isOverDeclaration()) in visit() 2825 exp->e1 = new OverExp(exp->loc, ti->tempdecl->isOverloadSet()); in visit() 2862 assert(ti->tempdecl); in visit() 2863 if (TemplateDeclaration *td = ti->tempdecl->isTemplateDeclaration()) in visit() 2865 else if (OverDeclaration *od = ti->tempdecl->isOverDeclaration()) in visit() 2870 … exp->e1 = new DotExp(exp->loc, se->e1, new OverExp(exp->loc, ti->tempdecl->isOverloadSet())); in visit() [all …]
|
| H A D | func.c | 411 if (ti == NULL || ti->isTemplateMixin() || ti->tempdecl->ident == fd->ident) in canInferAttributes() 1172 TemplateInstance *ti2 = ti->tempdecl->parent->isTemplateInstance(); in semantic() 1179 ClassDeclaration *cd = ti->tempdecl->isClassMember(); in semantic() 2404 …((ti = parent->isTemplateInstance()) == NULL || ti->isTemplateMixin() || ti->tempdecl->ident == id… in functionSemantic() 4808 return ti->tempdecl->toPrettyChars(QualifyTypes); in toPrettyChars()
|
| H A D | declaration.c | 1264 TemplateInstance *ti2 = ti->tempdecl->parent->isTemplateInstance(); in semantic() 1271 AggregateDeclaration *ad2 = ti->tempdecl->isMember(); in semantic()
|
| H A D | doc.c | 667 TemplateDeclaration *td = (tm && tm->tempdecl) ? in expandTemplateMixinComments() 668 tm->tempdecl->isTemplateDeclaration() : NULL; in expandTemplateMixinComments()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | dsymbolsem.d | 769 TemplateInstance ti2 = ti.tempdecl.parent.isTemplateInstance(); in visit() 775 AggregateDeclaration ad2 = ti.tempdecl.isMember(); in visit() 2475 override void visit(TemplateDeclaration tempdecl) in visit() argument 2479 …printf("TemplateDeclaration.dsymbolSemantic(this = %p, id = '%s')\n", this, tempdecl.ident.toChars… in visit() 2483 if (tempdecl.semanticRun != PASS.initial) in visit() 2486 if (tempdecl._scope) in visit() 2488 sc = tempdecl._scope; in visit() 2489 tempdecl._scope = null; in visit() 2497 if (tempdecl.ident == Id.RTInfo) in visit() 2498 Type.rtinfo = tempdecl; in visit() [all …]
|
| H A D | dtemplate.d | 4036 if (tparam && tparam.ty == Tinstance && t.tempinst.tempdecl) in visit() 4038 TemplateDeclaration tempdecl = t.tempinst.tempdecl.isTemplateDeclaration(); in visit() local 4039 assert(tempdecl); in visit() 4045 if (!tp.tempinst.tempdecl) in visit() 4076 s = ti.tempdecl; in visit() 4089 if (td == tempdecl) in visit() 4097 if (!tpx.matchArg(sc, tempdecl, i, parameters, dedtypes, null)) in visit() 4100 else if (tempdecl != tp.tempinst.tempdecl) in visit() 4120 size_t dim = tempdecl.parameters.dim - (tempdecl.isVariadic() ? 1 : 0); in visit() 4121 …while (i < dim && ((*tempdecl.parameters)[i].dependent || (*tempdecl.parameters)[i].hasDefaultArg(… in visit() [all …]
|
| H A D | dmangle.d | 476 p = ti.isTemplateMixin() ? ti.parent : ti.tempdecl.parent; in mangleParent() 486 localNum = ti.tempdecl.localNum; in mangleParent() 692 if (!ti.tempdecl) in visit() 705 TemplateDeclaration tempdecl = ti.tempdecl.isTemplateDeclaration(); in mangleTemplateInstance() local 706 assert(tempdecl); in mangleTemplateInstance() 711 mangleIdentifier(tempdecl.ident, tempdecl); in mangleTemplateInstance() 714 size_t nparams = tempdecl.parameters.dim - (tempdecl.isVariadic() ? 1 : 0); in mangleTemplateInstance() 723 if (i < nparams && (*tempdecl.parameters)[i].specialization()) in mangleTemplateInstance()
|
| H A D | cppmangle.d | 433 TemplateDeclaration td = ti.tempdecl.isTemplateDeclaration(); in template_arg() 542 TemplateDeclaration td = ti.tempdecl.isTemplateDeclaration(); 636 Dsymbol q = getQualifier(ti.tempdecl); 637 Dsymbol ns = ti.tempdecl.cppnamespace; 641 if (substitute(ti.tempdecl, !haveNE && isNested)) 666 this.abiTags.writeSymbol(to.tempdecl, this); 675 this.writeIdentifier(ti.tempdecl.toAlias().ident); 676 append(ti.tempdecl); 677 this.abiTags.writeSymbol(ti.tempdecl, this); 706 return ti.tempdecl ? ti.cppnamespace in getTiNamespace() [all …]
|
| H A D | semantic2.d | 150 TemplateDeclaration tempdecl = tempinst.tempdecl.isTemplateDeclaration(); in visit() local 151 assert(tempdecl); in visit() 153 sc = tempdecl._scope; in visit() 182 if (!tempdecl.literal) in visit()
|
| H A D | dsymbol.d | 447 return ti.tempdecl.getModule(); in getModule() 479 return ti.tempdecl.getAccessModule(); in getAccessModule() 493 s = ti.tempdecl; in getAccessModule() 590 if (ti.tempdecl && (!localOnly || !(cast(TemplateDeclaration)ti.tempdecl).isstatic)) in inout() 591 return ti.tempdecl.toParentDeclImpl(localOnly); in inout() 652 outer = ti.tempdecl.toParent(); 961 ti.tempdecl = td; in searchX()
|
| H A D | semantic3.d | 110 TemplateDeclaration tempdecl = tempinst.tempdecl.isTemplateDeclaration(); in visit() local 111 assert(tempdecl); in visit() 113 sc = tempdecl._scope; in visit() 142 if (!tempdecl.literal) in visit() 1547 Scope* sc3 = ti.tempdecl._scope.startCTFE(); in visit()
|
| H A D | template.h | 255 Dsymbol *tempdecl; // referenced by foo.bar.abc variable
|
| H A D | expressionsem.d | 775 if (dti.ti.tempdecl) in resolvePropertiesOnly() 776 if (auto td = dti.ti.tempdecl.isTemplateDeclaration()) in resolvePropertiesOnly() 785 if (ti && !ti.semanticRun && ti.tempdecl) in resolvePropertiesOnly() 786 if (auto td = ti.tempdecl.isTemplateDeclaration()) in resolvePropertiesOnly() 1204 if ((os = dti.ti.tempdecl.isOverloadSet()) !is null) 1206 if ((s = dti.ti.tempdecl) !is null) 1220 if (ti && !ti.semanticRun && ti.tempdecl) 1227 if ((os = ti.tempdecl.isOverloadSet()) !is null) 1229 if ((s = ti.tempdecl) !is null) 1706 if (ti && ti.tempdecl) in functionParameters() [all …]
|
| H A D | parse.d | 1096 auto tempdecl = new AST.TemplateDeclaration(loc, ident, tpl, null, a2, 0); in parseAutoDeclarations() local 1097 s = tempdecl; in parseAutoDeclarations() 1431 AST.TemplateDeclaration tempdecl; variable 1459 tempdecl = new AST.TemplateDeclaration(loc, id, tpl, constraint, decldefs, ismixin); 1460 return tempdecl; 3322 auto tempdecl = new AST.TemplateDeclaration(loc, id, tpl, constraint, decldefs); in parseAggregate() local 3323 return tempdecl; in parseAggregate() 4566 … auto tempdecl = new AST.TemplateDeclaration(loc, tplIdent, tpl, constraint, decldefs); 4567 s = tempdecl; 4612 auto tempdecl = new AST.TemplateDeclaration(loc, ident, tpl, null, a2, 0); variable [all …]
|
| H A D | expression.d | 390 if (!ti.isTemplateMixin() && ti.tempdecl) in getFuncTemplateDecl() 392 auto td = ti.tempdecl.isTemplateDeclaration(); in getFuncTemplateDecl() 3456 if (ti.tempdecl && in checkType() 4905 if (ti.tempdecl) in findTempDecl() 4945 if (ti.tempdecl && in checkType() 4957 if (ti.tempdecl && in checkValue()
|
| H A D | func.d | 435 …((ti = parent.isTemplateInstance()) is null || ti.isTemplateMixin() || ti.tempdecl.ident == ident)) in functionSemantic() 1322 if (ti is null || ti.isTemplateMixin() || ti.tempdecl.ident == ident) in canInferAttributes() 3791 return ti.tempdecl.toPrettyChars(QualifyTypes);
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | intrinsics.cc | 92 TemplateDeclaration *td = ti ? ti->tempdecl->isTemplateDeclaration () : NULL; in maybe_set_intrinsic()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
| H A D | intrinsics.cc | 95 TemplateDeclaration *td = ti ? ti->tempdecl->isTemplateDeclaration () : NULL; in maybe_set_intrinsic()
|