Home
last modified time | relevance | path

Searched refs:sdecl (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-builtins.cc230 StructDeclaration *sdecl = StructDeclaration::create (Loc (), ident, in build_frontend_type() local
232 sdecl->parent = stubmod; in build_frontend_type()
233 sdecl->structsize = int_size_in_bytes (type); in build_frontend_type()
234 sdecl->alignsize = TYPE_ALIGN_UNIT (type); in build_frontend_type()
235 sdecl->alignment = STRUCTALIGN_DEFAULT; in build_frontend_type()
236 sdecl->sizeok = SIZEOKdone; in build_frontend_type()
237 sdecl->type = (TypeStruct::create (sdecl))->addMod (mod); in build_frontend_type()
238 sdecl->type->ctype = type; in build_frontend_type()
239 sdecl->type->merge2 (); in build_frontend_type()
244 sdecl->members = new Dsymbols; in build_frontend_type()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-builtins.cc234 StructDeclaration *sdecl = StructDeclaration::create (Loc (), ident, in build_frontend_type() local
236 sdecl->parent = stubmod; in build_frontend_type()
237 sdecl->structsize = int_size_in_bytes (type); in build_frontend_type()
238 sdecl->alignsize = TYPE_ALIGN_UNIT (type); in build_frontend_type()
239 sdecl->alignment.setDefault (); in build_frontend_type()
240 sdecl->sizeok = Sizeok::done; in build_frontend_type()
241 sdecl->type = (TypeStruct::create (sdecl))->addMod (mod); in build_frontend_type()
242 sdecl->type->ctype = type; in build_frontend_type()
243 sdecl->type->merge2 (); in build_frontend_type()
248 sdecl->members = d_gc_malloc<Dsymbols> (); in build_frontend_type()
[all …]
H A Dexpr.cc2174 SymbolDeclaration *sdecl = e->var->isSymbolDeclaration (); in visit() local
2190 else if (sdecl && sdecl->dsym) in visit()
2192 if (StructDeclaration *sd = sdecl->dsym->isStructDeclaration ()) in visit()
2194 else if (ClassDeclaration *cd = sdecl->dsym->isClassDeclaration ()) in visit()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dcond.c197 StructDeclaration *sdecl = new StructDeclaration(loc, sid, false); in createTupleType() local
198 sdecl->storage_class |= STCstatic; in createTupleType()
199 sdecl->members = new Dsymbols(); in createTupleType()
202 sdecl->members->push(new VarDeclaration(loc, ty, fid, NULL)); in createTupleType()
203 TypeStruct *r = (TypeStruct *)sdecl->type; in createTupleType()
H A Dattrib.c398 if (StorageClassDeclaration *sdecl = s->isStorageClassDeclaration()) in addMember() local
400 sdecl->stc |= stc & STClocal; in addMember()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dcond.d253 auto sdecl = new StructDeclaration(loc, sid, false); in private() local
254 sdecl.storage_class |= STC.static_; in private()
255 sdecl.members = new Dsymbols(); in private()
258 sdecl.members.push(new VarDeclaration(loc, ty, fid, null, 0)); in private()
259 auto r = cast(TypeStruct)sdecl.type; in private()
H A Dattrib.d304 …if (auto sdecl = s.isStorageClassDeclaration()) // TODO: why is this not enough to deal with the n… in addMember()
306 sdecl.stc |= stc & STC.local; in addMember()
H A Dfunc.d2436 auto sdecl = new ExpStatement(rloc, decl); in buildEnsureRequire() local
2437 … s.push(new ScopeStatement(rloc, new CompoundStatement(rloc, sdecl, r.ensure), rloc)); in buildEnsureRequire()