Files
ldc/ir/irdtype.h
Tomas Lindquist Olsen c6e9f7f9e2 Moved ir/irtype.* into ir/irdtype.*.
Renamed IrType to IrDType, analogous to IrDSymbol.
2009-03-31 20:21:28 +02:00

27 lines
393 B
C++

#ifndef LDC_IR_IRTYPE_H
#define LDC_IR_IRTYPE_H
#include <set>
namespace llvm {
class PATypeHolder;
}
struct IrDType
{
static std::set<IrDType*> list;
static void resetAll();
// overload all of these to make sure
// the static list is up to date
IrDType();
IrDType(const IrDType& s);
~IrDType();
void reset();
llvm::PATypeHolder* type;
};
#endif