mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-16 12:53:14 +01:00
27 lines
395 B
C++
27 lines
395 B
C++
#ifndef LDC_IR_IRDTYPE_H
|
|
#define LDC_IR_IRDTYPE_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
|