view ir/irdtype.h @ 1187:a95fc9fcad5c

Make sure -defaultlib and -debuglib don't get cut off if longer than 63 chars, and clean up some overly verbose code.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 01 Apr 2009 00:52:31 +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