view ir/irdtype.h @ 1190:ea7b8b6c96c0

Some more fixups for mingw -- missing underscores
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Thu, 02 Apr 2009 17:27:53 -0600
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