Mercurial > projects > ldc
comparison dmd/declaration.h @ 1619:c61782a76dff
Merge DMD r304: refactor invariant => immutable
---
dmd/cast.c | 2 +-
dmd/declaration.c | 2 +-
dmd/declaration.h | 3 +--
dmd/doc.c | 2 +-
dmd/expression.c | 6 +++---
dmd/interpret.c | 4 ++--
dmd/mtype.c | 2 +-
dmd/mtype.h | 2 +-
dmd/parse.c | 4 ++--
dmd/struct.c | 2 +-
10 files changed, 14 insertions(+), 15 deletions(-)
author | Leandro Lucarella <llucax@gmail.com> |
---|---|
date | Wed, 06 Jan 2010 15:18:22 -0300 |
parents | 6820110de311 |
children | fb2e6707ad17 |
comparison
equal
deleted
inserted
replaced
1618:a87f1d6ff48e | 1619:c61782a76dff |
---|---|
65 STCcomdat = 0x8000, // should go into COMDAT record | 65 STCcomdat = 0x8000, // should go into COMDAT record |
66 STCvariadic = 0x10000, // variadic function argument | 66 STCvariadic = 0x10000, // variadic function argument |
67 STCctorinit = 0x20000, // can only be set inside constructor | 67 STCctorinit = 0x20000, // can only be set inside constructor |
68 STCtemplateparameter = 0x40000, // template parameter | 68 STCtemplateparameter = 0x40000, // template parameter |
69 STCscope = 0x80000, // template parameter | 69 STCscope = 0x80000, // template parameter |
70 STCinvariant = 0x100000, | |
71 STCimmutable = 0x100000, | 70 STCimmutable = 0x100000, |
72 STCref = 0x200000, | 71 STCref = 0x200000, |
73 STCinit = 0x400000, // has explicit initializer | 72 STCinit = 0x400000, // has explicit initializer |
74 STCmanifest = 0x800000, // manifest constant | 73 STCmanifest = 0x800000, // manifest constant |
75 STCnodtor = 0x1000000, // don't run destructor | 74 STCnodtor = 0x1000000, // don't run destructor |
129 virtual int isCodeseg(); | 128 virtual int isCodeseg(); |
130 int isCtorinit() { return storage_class & STCctorinit; } | 129 int isCtorinit() { return storage_class & STCctorinit; } |
131 int isFinal() { return storage_class & STCfinal; } | 130 int isFinal() { return storage_class & STCfinal; } |
132 int isAbstract() { return storage_class & STCabstract; } | 131 int isAbstract() { return storage_class & STCabstract; } |
133 int isConst() { return storage_class & STCconst; } | 132 int isConst() { return storage_class & STCconst; } |
134 int isInvariant() { return storage_class & STCinvariant; } | 133 int isImmutable() { return storage_class & STCimmutable; } |
135 int isAuto() { return storage_class & STCauto; } | 134 int isAuto() { return storage_class & STCauto; } |
136 int isScope() { return storage_class & STCscope; } | 135 int isScope() { return storage_class & STCscope; } |
137 int isSynchronized() { return storage_class & STCsynchronized; } | 136 int isSynchronized() { return storage_class & STCsynchronized; } |
138 int isParameter() { return storage_class & STCparameter; } | 137 int isParameter() { return storage_class & STCparameter; } |
139 int isDeprecated() { return storage_class & STCdeprecated; } | 138 int isDeprecated() { return storage_class & STCdeprecated; } |