Searched refs:STCscope (Results 1 – 13 of 13) sorted by relevance
148 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()
417 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()
579 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 …]
56 #define STCscope 0x80000LL macro95 const StorageClass STCStorageClass = (STCauto | STCscope | STCstatic | STCextern | STCconst | STCfi…148 bool isScope() { return (storage_class & STCscope) != 0; } in isScope()
5173 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 …]
1205 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()
3122 …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()
817 if (p->storageClass & STCscope && !(p->storageClass & STCscopeinferred)) in visit()
544 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()
382 if (storage_class & STCscope) in semantic()
1107 if (stc & STCscope && !(stc & STCscopeinferred)) in semanticTraits()
221 if (v->storage_class & STCscope && sc->func->setUnsafe()) in checkAddressVar()
59 #define STCscope 0x80000ULL /// `scope` macro141 bool isScope() const { return (storage_class & STCscope) != 0; } in isScope()