Mercurial > projects > ldc
diff 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 |
line wrap: on
line diff
--- a/dmd/declaration.h Wed Jan 06 15:18:21 2010 -0300 +++ b/dmd/declaration.h Wed Jan 06 15:18:22 2010 -0300 @@ -67,7 +67,6 @@ STCctorinit = 0x20000, // can only be set inside constructor STCtemplateparameter = 0x40000, // template parameter STCscope = 0x80000, // template parameter - STCinvariant = 0x100000, STCimmutable = 0x100000, STCref = 0x200000, STCinit = 0x400000, // has explicit initializer @@ -131,7 +130,7 @@ int isFinal() { return storage_class & STCfinal; } int isAbstract() { return storage_class & STCabstract; } int isConst() { return storage_class & STCconst; } - int isInvariant() { return storage_class & STCinvariant; } + int isImmutable() { return storage_class & STCimmutable; } int isAuto() { return storage_class & STCauto; } int isScope() { return storage_class & STCscope; } int isSynchronized() { return storage_class & STCsynchronized; }