annotate dmd/backend/TF.d @ 0:10317f0c89a5

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