view ir/irmodule.h @ 1406:eb7cb41ee585

Allow package protected members to be accessed by the declaring module even if it isn't in a package.
author Christian Kamm <kamm incasoftware de>
date Thu, 21 May 2009 18:08:31 +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