Mercurial > projects > ldc
view ir/irdtype.h @ 1208:2a37f4745ddd
Add an option to change the way nested variables are handled.
Only one value is implemented, which is the old way.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 12 Apr 2009 16:22:21 +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