Mercurial > projects > ldc
view ir/irdtype.h @ 1239:ff1b4cc2e9be
Make !TypeInfo output lazy unless we need to provide full definitions in general.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Thu, 16 Apr 2009 22:20:26 +0200 |
parents | d68796be59fd |
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