Mercurial > projects > ldc
view ir/irtype.h @ 358:051f5b550d9c trunk
[svn r379] Fix slice assigns of the form T[] = T when T is a typedef.
Fixes run/a/array_initialization_20_B, D, F, H.
author | ChristianK |
---|---|
date | Mon, 14 Jul 2008 12:39:23 +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