aboutsummaryrefslogtreecommitdiff
path: root/include/clang/CodeGen/ModuleBuilder.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-05 08:06:13 +0000
committerChris Lattner <sabre@nondot.org>2008-02-05 08:06:13 +0000
commitd86e6bc7ab4388a578daf46e7c76be9122a25072 (patch)
tree00e1cb94e691418b35d2fe71f1ed5283671af17f /include/clang/CodeGen/ModuleBuilder.h
parent9153f73d1035ddcaac5a253ac2a0570e04e22b1f (diff)
rewrite some of the type refinement code to eliminate dangling pointers
simplify the code and generally make it more robust. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen/ModuleBuilder.h')
-rw-r--r--include/clang/CodeGen/ModuleBuilder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h
index b27e3d35f5..ab08c4abc6 100644
--- a/include/clang/CodeGen/ModuleBuilder.h
+++ b/include/clang/CodeGen/ModuleBuilder.h
@@ -24,6 +24,7 @@ namespace clang {
class FunctionDecl;
class LinkageSpecDecl;
class FileVarDecl;
+ class TypeDecl;
struct LangOptions;
class Diagnostic;
@@ -44,6 +45,9 @@ namespace CodeGen {
/// CodeGenGlobalVar - Emit the specified global variable to LLVM.
void CodeGenGlobalVar(CodeGenModule *Builder, FileVarDecl *D);
+ /// CodeGenTypeDecl - Compile a type.
+ void CodeGenTypeDecl(CodeGenModule *Builder, TypeDecl *D);
+
/// PrintStats - Emit statistic information to stderr.
///
void PrintStats(CodeGenModule *Builder);