mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 08:30:47 +03:00

This uses the LLVM style, which makes sense for sharing code with other LLVM projects. The DMD code we use will soon all be in D anyway.
23 lines
796 B
C++
23 lines
796 B
C++
//===-- gen/typinf.h - TypeInfo declaration codegen -------------*- C++ -*-===//
|
||
//
|
||
// LDC – the LLVM D compiler
|
||
//
|
||
// This file is distributed under the BSD-style LDC license. See the LICENSE
|
||
// file for details.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
//
|
||
// Codegen for the TypeInfo types/constants required by the D run-time type
|
||
// information system.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
#ifndef LDC_GEN_TYPEINF_H
|
||
#define LDC_GEN_TYPEINF_H
|
||
|
||
class TypeInfoDeclaration;
|
||
void DtoResolveTypeInfo(TypeInfoDeclaration *tid);
|
||
TypeInfoDeclaration *getOrCreateTypeInfoDeclaration(Type *t, Scope *sc);
|
||
void TypeInfoDeclaration_codegen(TypeInfoDeclaration *decl, IRState *p);
|
||
|
||
#endif
|