mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-17 13:23:14 +01:00
Added -v-cg switch, which right now just prints "codegen: module.name (module/name.d)" to stdout, this can really help figuring out where, in some complex build command, things go wrong.
22 lines
311 B
C++
22 lines
311 B
C++
#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
|