view ir/irdtype.h @ 1188:442ab244c455

Apply small includes patch for FreeBSD. Thanks kimelto!
author Christian Kamm <kamm incasoftware de>
date Thu, 02 Apr 2009 19:16:44 +0200
parents a6dbd571d417
children d68796be59fd
line wrap: on
line source

#ifndef LDC_IR_IRTYPE_H
#define LDC_IR_IRTYPE_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