diff options
Diffstat (limited to 'gcc/d/dmd/mtype.h')
-rw-r--r-- | gcc/d/dmd/mtype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/d/dmd/mtype.h b/gcc/d/dmd/mtype.h index 07c574d42b7..6ba47dfa34e 100644 --- a/gcc/d/dmd/mtype.h +++ b/gcc/d/dmd/mtype.h @@ -109,6 +109,7 @@ enum class TY : uint8_t */ enum MODFlags { + MODnone = 0, // default (mutable) MODconst = 1, // type is const MODimmutable = 4, // type is immutable MODshared = 2, // type is shared @@ -595,8 +596,8 @@ public: // .next is the return type ParameterList parameterList; // function parameters + uint16_t bitFields; LINK linkage; // calling convention - unsigned funcFlags; TRUST trust; // level of trust PURE purity; // PURExxxx char inuse; @@ -608,7 +609,6 @@ public: void purityLevel(); bool hasLazyParameters(); bool isDstyleVariadic() const; - bool parameterEscapes(Parameter *p); StorageClass parameterStorageClass(Parameter *p); Type *addStorageClass(StorageClass stc); |