Home
last modified time | relevance | path

Searched refs:STCscope (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Descape.c148 if ((v->storage_class & (STCref | STCout | STCscope)) && p == sc->func) in checkParamArgumentEscape()
270 va->storage_class |= STCscope | STCscopeinferred; in checkAssignEscape()
291 va->storage_class |= STCscope | STCscopeinferred; in checkAssignEscape()
341 va->storage_class |= STCscope | STCscopeinferred; in checkAssignEscape()
373 if ((v->storage_class & (STCref | STCout | STCscope)) && p == sc->func) in checkAssignEscape()
402 va->storage_class |= STCscope | STCscopeinferred; in checkAssignEscape()
962 if ((stc & (STCscope)) && (stc & STCreturn)) in escapeByValue()
984 if (dve->var->storage_class & STCscope) in escapeByValue()
1161 else if ((stc & STCscope) && (stc & STCreturn)) in escapeByRef()
1182 if ((dve->var->storage_class & STCscope) || tf->isscope) in escapeByRef()
H A Dattrib.c417 if (stc & (STCauto | STCscope | STCstatic | STCextern | STCmanifest)) in newScope()
418 scstc &= ~(STCauto | STCscope | STCstatic | STCextern | STCmanifest); in newScope()
419 if (stc & (STCauto | STCscope | STCstatic | STCtls | STCmanifest | STCgshared)) in newScope()
420 scstc &= ~(STCauto | STCscope | STCstatic | STCtls | STCmanifest | STCgshared); in newScope()
766 sc->stc &= ~(STCauto | STCscope | STCstatic | STCtls | STCgshared); in semantic()
H A Dfunc.c579 if (tf->isscope) sc->stc |= STCscope; in semantic()
606 sc->stc |= STCscope; in semantic()
609 if (sc->stc & STCscope && ad && ad->isStructDeclaration() && !ad->type->hasPointers()) in semantic()
611 sc->stc &= ~STCscope; in semantic()
1465 sc2->stc &= ~(STCauto | STCscope | STCstatic | STCextern | STCabstract | in semantic3()
1596 if (flags & FUNCFLAGinferScope && !(fparam->storageClass & STCscope)) in semantic3()
1598 …stc |= fparam->storageClass & (STCin | STCout | STCref | STCreturn | STCscope | STClazy | STCfinal… in semantic3()
2327 v->storage_class |= STCscope | STCscopeinferred; in semantic3()
2328 p->storageClass |= STCscope | STCscopeinferred; in semantic3()
2337 vthis->storage_class |= STCscope | STCscopeinferred; in semantic3()
[all …]
H A Ddeclaration.h56 #define STCscope 0x80000LL macro
95 const StorageClass STCStorageClass = (STCauto | STCscope | STCstatic | STCextern | STCconst | STCfi…
148 bool isScope() { return (storage_class & STCscope) != 0; } in isScope()
H A Dmtype.c5173 if (stc & STCscope) in TypeFunction()
5377 StorageClass stc1 = t1->isscope ? STCscope : 0; in covariant()
5378 StorageClass stc2 = t2->isscope ? STCscope : 0; in covariant()
5488 if (sc->stc & STCscope) in semantic()
5611 fparam->storageClass |= STCscope; // 'return' implies 'scope' in semantic()
5648 … if (fparam->storageClass & STCscope && !fparam->type->hasPointers() && fparam->type->ty != Ttuple) in semantic()
5650 fparam->storageClass &= ~STCscope; in semantic()
6240 if (parameterStorageClass(p) & (STCscope | STClazy)) in parameterEscapes()
6261 if (stc & (STCscope | STCreturn | STClazy) || purity == PUREimpure) in parameterStorageClass()
6298 stc |= STCscope; in parameterStorageClass()
[all …]
H A Ddeclaration.c1205 if (storage_class & STCscope) in semantic()
1220 storage_class &= ~STCscope; // silently ignore; may occur in generic code in semantic()
1339 if (!(storage_class & STCscope)) in semantic()
2169 if (storage_class & (STCauto | STCscope) && !(storage_class & STCparameter)) in callScopeDtor()
H A Dhdrgen.c3122 …if (stcToBuffer(buf, stc & (STCconst | STCimmutable | STCwild | STCshared | STCscope | STCscopeinf… in visit()
3241 if ((stc & (STCreturn | STCscope)) == (STCreturn | STCscope)) in stcToBuffer()
3242 stc &= ~STCscope; in stcToBuffer()
3244 stc &= ~(STCscope | STCscopeinferred); in stcToBuffer()
3276 { STCscope, TOKscope, NULL }, in stcToChars()
H A Ddmangle.c817 if (p->storageClass & STCscope && !(p->storageClass & STCscopeinferred)) in visit()
H A Dparse.c544 case TOKscope: stc = STCscope; goto Lstc; in parseDeclDefs()
974 (storageClass & STCin && stc & (STCconst | STCscope)) || in appendStorageClass()
975 (stc & STCin && storageClass & (STCconst | STCscope))) in appendStorageClass()
1099 case TOKscope: stc = STCscope; break; in parsePostfix()
2024 case TOKscope: stc = STCscope; goto L2; in parseParameters()
3643 case TOKscope: stc = STCscope; goto L1; in parseStorageClasses()
H A Ddclass.c382 if (storage_class & STCscope) in semantic()
H A Dtraits.c1107 if (stc & STCscope && !(stc & STCscopeinferred)) in semanticTraits()
H A Dexpressionsem.c221 if (v->storage_class & STCscope && sc->func->setUnsafe()) in checkAddressVar()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddeclaration.h59 #define STCscope 0x80000ULL /// `scope` macro
141 bool isScope() const { return (storage_class & STCscope) != 0; } in isScope()