view ir/irtype.h @ 797:340acf1535d0

Removed KDevelop3 project files, CMake can generate them just fine! Fixed function literals in static initializers. Changed alignment of delegates from 2*PTRSIZE to just PTRSIZE. Changed errors to go to stderr instead of stdout. Fairly major rewriting of struct/union/class handling, STILL A BIT BUGGY !!!
author Tomas Lindquist Olsen <>
date Sat, 29 Nov 2008 21:25:43 +0100
parents eef8ac26c66c
line wrap: on
line source

#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(const IrType& s);

    void reset();

    llvm::PATypeHolder* type;