Home
last modified time | relevance | path

Searched refs:STCconst (Results 1 – 25 of 28) sorted by relevance

12

/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dclone.c507 parameters->push(new Parameter(STCref | STCconst, sd->type, NULL, NULL)); in buildXopEquals()
535 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXopEquals()
536 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::q, NULL)); in buildXopEquals()
587 parameters->push(new Parameter(STCref | STCconst, sd->type, NULL, NULL)); in buildXopCmp()
620 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXopCmp()
621 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::q, NULL)); in buildXopCmp()
742 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXtoHash()
H A Ddeclaration.h38 #define STCconst 4ULL /// `const` macro
104 #define STC_TYPECTOR (STCconst | STCimmutable | STCshared | STCwild)
137 bool isConst() const { return (storage_class & STCconst) != 0; } in isConst()
H A Darrayop.c444 Parameter *param = new Parameter(STCconst, e->type, id, NULL); in buildArrayLoop()
454 Parameter *param = new Parameter(STCconst, e->type, id, NULL); in buildArrayLoop()
H A Dfunc.c632 stc |= STCconst; in semantic()
640 case STCimmutable | STCconst: in semantic()
642 case STCimmutable | STCwild | STCconst: in semantic()
644 case STCimmutable | STCshared | STCconst: in semantic()
646 case STCimmutable | STCshared | STCwild | STCconst: in semantic()
651 case STCconst: in semantic()
659 case STCwild | STCconst: in semantic()
667 case STCshared | STCconst: in semantic()
675 case STCshared | STCwild | STCconst: in semantic()
2601 vresult->storage_class |= STCconst; in buildResultVar()
[all …]
H A Dparse.c504 stc = STCconst; in parseDeclDefs()
974 (storageClass & STCin && stc & (STCconst | STCscope)) || in appendStorageClass()
975 (stc & STCin && storageClass & (STCconst | STCscope))) in appendStorageClass()
988 if (stc & (STCconst | STCimmutable | STCmanifest)) in appendStorageClass()
1092 case TOKconst: stc = STCconst; break; in parsePostfix()
1140 case TOKconst: stc = STCconst; break; in parseTypeCtor()
1999 stc = STCconst; in parseParameters()
3022 stc |= STCconst; // const as storage class in parseType()
3168 t = parseType()->addSTC(STCconst); in parseBasicType()
4766 stc = STCconst; in parseForeach()
[all …]
H A Ddeclaration.c1181 storage_class |= STCconst; in semantic()
1233 storage_class & (STCconst | STCimmutable) && _init && !_init->isVoidInitializer()) in semantic()
1533 else if (storage_class & (STCconst | STCimmutable | STCmanifest) || in semantic()
2057 !(storage_class & (STCimmutable | STCconst | STCshared | STCgshared)); in isThreadlocal()
2232 storage_class |= STCconst; in SymbolDeclaration()
H A Ddsymbol.c1617 v->storage_class |= STCtemp | STCstatic | STCconst; in search()
1629 v->storage_class |= STCtemp | STCstatic | STCconst; in search()
1699 v->storage_class |= STCtemp | STCstatic | STCconst; in search()
H A Dattrib.c421 if (stc & (STCconst | STCimmutable | STCmanifest)) in newScope()
422 scstc &= ~(STCconst | STCimmutable | STCmanifest); in newScope()
H A Doptimize.c1033 lengthVar->storage_class |= STCstatic | STCconst; in Expression_optimize()
H A Dhdrgen.c3122 …if (stcToBuffer(buf, stc & (STCconst | STCimmutable | STCwild | STCshared | STCscope | STCscopeinf… in visit()
3279 { STCconst, TOKconst, NULL }, in stcToChars()
H A Dtraits.c1099 if (stc & STCconst) in semanticTraits()
H A Dmtype.c936 if ((stc & STCconst) && !t->isConst()) in addSTC()
982 if (mod & MODconst) stc |= STCconst; in ModToStc()
1159 if (stc & (STCconst | STCin)) in addStorageClass()
6914 if (v->storage_class & (STCconst | STCimmutable | STCmanifest) || in resolveHelper()
H A Ddtemplate.c1299 if (stc & STCconst) in deduceFunctionTemplateMatch()
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dclone.c507 parameters->push(new Parameter(STCref | STCconst, sd->type, NULL, NULL)); in buildXopEquals()
535 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXopEquals()
536 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::q, NULL)); in buildXopEquals()
587 parameters->push(new Parameter(STCref | STCconst, sd->type, NULL, NULL)); in buildXopCmp()
620 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXopCmp()
621 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::q, NULL)); in buildXopCmp()
742 parameters->push(new Parameter(STCref | STCconst, sd->type, Id::p, NULL)); in buildXtoHash()
H A Ddeclaration.h40 #define STCconst 4LL macro
71 #define STC_TYPECTOR (STCconst | STCimmutable | STCshared | STCwild)
95 const StorageClass STCStorageClass = (STCauto | STCscope | STCstatic | STCextern | STCconst | STCfi…
144 bool isConst() { return (storage_class & STCconst) != 0; } in isConst()
H A Darrayop.c444 Parameter *param = new Parameter(STCconst, e->type, id, NULL); in buildArrayLoop()
454 Parameter *param = new Parameter(STCconst, e->type, id, NULL); in buildArrayLoop()
H A Dfunc.c632 stc |= STCconst; in semantic()
640 case STCimmutable | STCconst: in semantic()
642 case STCimmutable | STCwild | STCconst: in semantic()
644 case STCimmutable | STCshared | STCconst: in semantic()
646 case STCimmutable | STCshared | STCwild | STCconst: in semantic()
651 case STCconst: in semantic()
659 case STCwild | STCconst: in semantic()
667 case STCshared | STCconst: in semantic()
675 case STCshared | STCwild | STCconst: in semantic()
2601 vresult->storage_class |= STCconst; in buildResultVar()
[all …]
H A Dparse.c504 stc = STCconst; in parseDeclDefs()
974 (storageClass & STCin && stc & (STCconst | STCscope)) || in appendStorageClass()
975 (stc & STCin && storageClass & (STCconst | STCscope))) in appendStorageClass()
988 if (stc & (STCconst | STCimmutable | STCmanifest)) in appendStorageClass()
1092 case TOKconst: stc = STCconst; break; in parsePostfix()
1140 case TOKconst: stc = STCconst; break; in parseTypeCtor()
1999 stc = STCconst; in parseParameters()
3022 stc |= STCconst; // const as storage class in parseType()
3168 t = parseType()->addSTC(STCconst); in parseBasicType()
4766 stc = STCconst; in parseForeach()
[all …]
H A Ddeclaration.c1181 storage_class |= STCconst; in semantic()
1233 storage_class & (STCconst | STCimmutable) && _init && !_init->isVoidInitializer()) in semantic()
1533 else if (storage_class & (STCconst | STCimmutable | STCmanifest) || in semantic()
2057 !(storage_class & (STCimmutable | STCconst | STCshared | STCgshared)); in isThreadlocal()
2232 storage_class |= STCconst; in SymbolDeclaration()
H A Ddsymbol.c1617 v->storage_class |= STCtemp | STCstatic | STCconst; in search()
1629 v->storage_class |= STCtemp | STCstatic | STCconst; in search()
1699 v->storage_class |= STCtemp | STCstatic | STCconst; in search()
H A Dattrib.c421 if (stc & (STCconst | STCimmutable | STCmanifest)) in newScope()
422 scstc &= ~(STCconst | STCimmutable | STCmanifest); in newScope()
H A Doptimize.c1033 lengthVar->storage_class |= STCstatic | STCconst; in Expression_optimize()
H A Dhdrgen.c3122 …if (stcToBuffer(buf, stc & (STCconst | STCimmutable | STCwild | STCshared | STCscope | STCscopeinf… in visit()
3279 { STCconst, TOKconst, NULL }, in stcToChars()
H A Dtraits.c1099 if (stc & STCconst) in semanticTraits()
H A Dmtype.c936 if ((stc & STCconst) && !t->isConst()) in addSTC()
982 if (mod & MODconst) stc |= STCconst; in ModToStc()
1159 if (stc & (STCconst | STCin)) in addStorageClass()
6914 if (v->storage_class & (STCconst | STCimmutable | STCmanifest) || in resolveHelper()

12