Mercurial > projects > ddmd
comparison dmd/backend/TF.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:10317f0c89a5 |
---|---|
1 module dmd.backend.TF; | |
2 | |
3 enum TF | |
4 { | |
5 TFprototype = 1, /* if this function is prototyped */ | |
6 TFfixed = 2, /* if prototype has a fixed # of parameters */ | |
7 TFforward = 8, // TYstruct: if forward reference of tag name | |
8 TFsizeunknown = 0x10, // TYstruct,TYarray: if size of type is unknown | |
9 // TYmptr: the Stag is TYident type | |
10 TFfuncret = 0x20, // C++,tyfunc(): overload based on function return value | |
11 TFfuncparam = 0x20, // TYarray: top level function parameter | |
12 TFstatic = 0x40, // TYarray: static dimension | |
13 TFvla = 0x80, // TYarray: variable length array | |
14 TFemptyexc = 0x100, // tyfunc(): empty exception specification | |
15 | |
16 // C | |
17 TFgenerated = 4, // if we generated the prototype ourselves | |
18 | |
19 // CPP | |
20 TFdependent = 4, // template dependent type | |
21 | |
22 ///version (TX86) { | |
23 ///} else { | |
24 /// TFhydrated = 0x20, // type data already hydrated | |
25 /// TFbasicrev = 0x80, // if basic reserved type | |
26 ///} | |
27 } | |
28 | |
29 import dmd.EnumUtils; | |
30 mixin(BringToCurrentScope!(TF)); |