Mercurial > projects > ldc
view ir/irtype.h @ 636:9fb1f559d9e9
updated tango patch so it compiles again with the latests check for using privates as default args for public functions.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 02 Oct 2008 01:42:21 +0200 |
parents | 8ee2c46ff938 |
children | eef8ac26c66c |
line wrap: on
line source
#ifndef LLVMDC_IR_IRTYPE_H #define LLVMDC_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