Home
last modified time | relevance | path

Searched refs:STCimmutable (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddeclaration.h57 #define STCimmutable 0x100000LL macro
71 #define STC_TYPECTOR (STCconst | STCimmutable | STCshared | STCwild)
98 …STCmanifest | STCimmutable | STCshared | STCwild | STCnothrow | STCnogc | STCpure | STCref | STCtl…
145 bool isImmutable() { return (storage_class & STCimmutable) != 0; } in isImmutable()
H A Ddeclaration.c1186 storage_class |= STCimmutable; in semantic()
1233 storage_class & (STCconst | STCimmutable) && _init && !_init->isVoidInitializer()) in semantic()
1235 const char *s = (storage_class & STCimmutable) ? "immutable" : "const"; in semantic()
1533 else if (storage_class & (STCconst | STCimmutable | STCmanifest) || in semantic()
2057 !(storage_class & (STCimmutable | STCconst | STCshared | STCgshared)); in isThreadlocal()
H A Dparse.c510 stc = STCimmutable; in parseDeclDefs()
988 if (stc & (STCconst | STCimmutable | STCmanifest)) in appendStorageClass()
990 StorageClass u = storageClass & (STCconst | STCimmutable | STCmanifest); in appendStorageClass()
1093 case TOKimmutable: stc = STCimmutable; break; in parsePostfix()
1141 case TOKimmutable: stc = STCimmutable; break; in parseTypeCtor()
2005 stc = STCimmutable; in parseParameters()
3029 stc |= STCimmutable; in parseType()
3176 t = parseType()->addSTC(STCimmutable); in parseBasicType()
3414 if (stc & (STCconst | STCimmutable | STCshared | STCwild | STCreturn)) in parseBasicType2()
3625 stc = STCimmutable; in parseStorageClasses()
[all …]
H A Dfunc.c630 stc |= STCimmutable; in semantic()
639 case STCimmutable: in semantic()
640 case STCimmutable | STCconst: in semantic()
641 case STCimmutable | STCwild: in semantic()
642 case STCimmutable | STCwild | STCconst: in semantic()
643 case STCimmutable | STCshared: in semantic()
644 case STCimmutable | STCshared | STCconst: in semantic()
645 case STCimmutable | STCshared | STCwild: in semantic()
646 case STCimmutable | STCshared | STCwild | STCconst: in semantic()
H A Dattrib.c421 if (stc & (STCconst | STCimmutable | STCmanifest)) in newScope()
422 scstc &= ~(STCconst | STCimmutable | STCmanifest); in newScope()
H A Doptimize.c952 … if (v && (v->storage_class & STCstatic) && (v->storage_class & STCimmutable) && v->_init) in Expression_optimize()
H A Dhdrgen.c3122 …if (stcToBuffer(buf, stc & (STCconst | STCimmutable | STCwild | STCshared | STCscope | STCscopeinf… in visit()
3290 { STCimmutable, TOKimmutable, NULL }, in stcToChars()
H A Dtraits.c1101 if (stc & STCimmutable) in semanticTraits()
H A Dmtype.c913 else if (stc & STCimmutable) in addSTC()
981 if (mod & MODimmutable) stc |= STCimmutable; in ModToStc()
1155 if (stc & STCimmutable) in addStorageClass()
6914 if (v->storage_class & (STCconst | STCimmutable | STCmanifest) || in resolveHelper()
H A Ddtemplate.c1293 if (stc & STCimmutable) in deduceFunctionTemplateMatch()
H A Ddinterpret.c843 if (earg->op == TOKstructliteral && !(fparam->storageClass & (STCconst | STCimmutable))) in interpretFunction()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddeclaration.h67 #define STCimmutable 0x2000000ULL /// `immutable` macro
104 #define STC_TYPECTOR (STCconst | STCimmutable | STCshared | STCwild)
138 bool isImmutable() const { return (storage_class & STCimmutable) != 0; } in isImmutable()