view ir/irforw.h @ 554:1b702422451c

Always call finalizer for stack classes. Checking for the number of destructors of the class type is not sufficient: we may be holding a derived class with a destructor. Fixes: run/auto_07
author Christian Kamm <kamm incasoftware de>
date Thu, 28 Aug 2008 20:17:21 +0200
parents 0e28624814e8
children eef8ac26c66c
line wrap: on
line source

#ifndef LLVMDC_IR_IRFORW_H
#define LLVMDC_IR_IRFORW_H

// dmd forward declarations
struct Module;
struct Dsymbol;
struct Declaration;
struct VarDeclaration;
struct FuncDeclaration;
struct AggregateDeclaration;
struct StructDeclaration;
struct ClassDeclaration;
struct InterfaceDeclaration;
struct Expression;
struct BaseClass;
struct Array;
struct Argument;

struct Type;
struct TypeStruct;
struct TypeClass;
struct TypeEnum;
struct TypeArray;
struct TypeFunction;

// llvm forward declarations
namespace llvm
{
    class Value;
    class GlobalValue;
    class GlobalVariable;
    class Function;
    class Constant;
    class ConstantStruct;
    class ConstantArray;
    class TargetData;
    class Type;
    class StructType;
    class ArrayType;
    class PointerType;
    class BasicBlock;
    class Instruction;
}

#endif