view ir/irmodule.h @ 1408:afecdb8ee962

Fix bug #307 by doing what DMD does: add the arrayop to sc->module->importedFrom instead of sc->module. That way array ops in template instantiations will be semantic3'ed.
author Christian Kamm <kamm incasoftware de>
date Fri, 22 May 2009 10:17:47 +0200
parents 1714836f2c0b
children
line wrap: on
line source

#ifndef LDC_IR_IRMODULE_H
#define LDC_IR_IRMODULE_H

#include "ir/ir.h"

struct Module;

struct IrModule : IrBase
{
    IrModule(Module* module, const char* srcfilename);
    virtual ~IrModule();

    Module* M;

    LLGlobalVariable* fileName;
    llvm::DICompileUnit diCompileUnit;
};

#endif