Mercurial > projects > ldc
comparison ir/irdtype.h @ 1184:a6dbd571d417
Moved ir/irtype.* into ir/irdtype.*.
Renamed IrType to IrDType, analogous to IrDSymbol.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Tue, 31 Mar 2009 20:21:28 +0200 |
parents | ir/irtype.h@340acf1535d0 |
children | d68796be59fd |
comparison
equal
deleted
inserted
replaced
1183:df386fd4030e | 1184:a6dbd571d417 |
---|---|
1 #ifndef LDC_IR_IRTYPE_H | |
2 #define LDC_IR_IRTYPE_H | |
3 | |
4 #include <set> | |
5 | |
6 namespace llvm { | |
7 class PATypeHolder; | |
8 } | |
9 | |
10 struct IrDType | |
11 { | |
12 static std::set<IrDType*> list; | |
13 static void resetAll(); | |
14 | |
15 // overload all of these to make sure | |
16 // the static list is up to date | |
17 IrDType(); | |
18 IrDType(const IrDType& s); | |
19 ~IrDType(); | |
20 | |
21 void reset(); | |
22 | |
23 llvm::PATypeHolder* type; | |
24 }; | |
25 | |
26 #endif |