Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (34 sloc) 0.675 kb
#ifndef __LDC_IR_IRTYPEFUNCTION_H__
#define __LDC_IR_IRTYPEFUNCTION_H__
#include "ir/irtype.h"
struct IrFuncTy;
///
class IrTypeFunction : public IrType
{
public:
///
IrTypeFunction(Type* dt);
///
IrTypeFunction* isFunction() { return this; }
///
llvm::Type* buildType();
IrFuncTy* fty() { return irfty; }
protected:
llvm::Type* func2llvm(Type* dt);
///
IrFuncTy* irfty;
};
///
class IrTypeDelegate : public IrType
{
public:
///
IrTypeDelegate(Type* dt);
///
IrTypeDelegate* isDelegate() { return this; }
///
llvm::Type* buildType();
protected:
llvm::Type* delegate2llvm(Type* dt);
};
#endif
Jump to Line
Something went wrong with that request. Please try again.