/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | clone.c | 507 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 D | declaration.h | 38 #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 D | arrayop.c | 444 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 D | func.c | 632 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 D | parse.c | 504 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 D | declaration.c | 1181 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 D | dsymbol.c | 1617 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 D | attrib.c | 421 if (stc & (STCconst | STCimmutable | STCmanifest)) in newScope() 422 scstc &= ~(STCconst | STCimmutable | STCmanifest); in newScope()
|
H A D | optimize.c | 1033 lengthVar->storage_class |= STCstatic | STCconst; in Expression_optimize()
|
H A D | hdrgen.c | 3122 …if (stcToBuffer(buf, stc & (STCconst | STCimmutable | STCwild | STCshared | STCscope | STCscopeinf… in visit() 3279 { STCconst, TOKconst, NULL }, in stcToChars()
|
H A D | traits.c | 1099 if (stc & STCconst) in semanticTraits()
|
H A D | mtype.c | 936 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 D | dtemplate.c | 1299 if (stc & STCconst) in deduceFunctionTemplateMatch()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | clone.c | 507 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 D | declaration.h | 40 #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 D | arrayop.c | 444 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 D | func.c | 632 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 D | parse.c | 504 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 D | declaration.c | 1181 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 D | dsymbol.c | 1617 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 D | attrib.c | 421 if (stc & (STCconst | STCimmutable | STCmanifest)) in newScope() 422 scstc &= ~(STCconst | STCimmutable | STCmanifest); in newScope()
|
H A D | optimize.c | 1033 lengthVar->storage_class |= STCstatic | STCconst; in Expression_optimize()
|
H A D | hdrgen.c | 3122 …if (stcToBuffer(buf, stc & (STCconst | STCimmutable | STCwild | STCshared | STCscope | STCscopeinf… in visit() 3279 { STCconst, TOKconst, NULL }, in stcToChars()
|
H A D | traits.c | 1099 if (stc & STCconst) in semanticTraits()
|
H A D | mtype.c | 936 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()
|