Mercurial > projects > ldc
view ir/irdtype.h @ 1191:d68796be59fd
updated ir/irtype.h guard name
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Fri, 03 Apr 2009 14:54:17 +0200 |
parents | a6dbd571d417 |
children | 2a92c115461d |
line wrap: on
line source
#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