view ir/irsymbol.h @ 1610:4f63d530861f

Merge DMD r276: bugzilla 2229 ICE(template.c) instantiating an invalid... bugzilla 2229 ICE(template.c) instantiating an invalid variadic template with more than one argument. --- dmd/template.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
author Leandro Lucarella <llucax@gmail.com>
date Wed, 06 Jan 2010 15:18:21 -0300
parents 46f6365a50d7
children
line wrap: on
line source

#ifndef __LDC_IR_IRSYMBOL_H__
#define __LDC_IR_IRSYMBOL_H__

#include "ir/ir.h"

/// Base class for all symbols.
class IrSymbol
{
public:
    ///
    IrSymbol(Ir* ir) : ir(ir) {}

    /// Migrate symbols to current module if necessary.
    virtual void migrate() = 0;

protected:
    ///
    Ir* ir;
};

#endif