mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
64 lines
1.3 KiB
C++
64 lines
1.3 KiB
C++
//===-- ir/irforw.h - Forward declarations used in ir/ code ----*- C++ -*-===//
|
||
//
|
||
// LDC – the LLVM D compiler
|
||
//
|
||
// This file is distributed under the BSD-style LDC license. See the LICENSE
|
||
// file for details.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
//
|
||
// Some common forward declarations for use in ir/ headers.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
|
||
#ifndef LDC_IR_IRFORW_H
|
||
#define LDC_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;
|
||
#if LDC_LLVM_VER >= 302
|
||
class DataLayout;
|
||
#else
|
||
class TargetData;
|
||
#endif
|
||
class Type;
|
||
class StructType;
|
||
class ArrayType;
|
||
class PointerType;
|
||
class BasicBlock;
|
||
class Instruction;
|
||
}
|
||
|
||
#endif
|