Files
ldc/ir/irtype.h
2008-10-06 22:54:08 +02:00

28 lines
421 B
C++

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