Mercurial > projects > ldc
view ir/irsymbol.h @ 1636:332925de1881
Fix #398.
Tested by Deewiant.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 08 Mar 2010 17:44:38 +0100 |
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