summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.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
commitb1537ebdd4b91405ecb4fdb379120f8820e15212 (patch)
tree236d44a0be9e1f3959ec38b9a74bb58d003f250d /clang/CodeGen/CodeGenModule.h
parentd8902e06ba940b3a1f6124ffd31ee963a23cbdb9 (diff)
downloadbcm5719-llvm-b1537ebdd4b91405ecb4fdb379120f8820e15212.tar.gz
bcm5719-llvm-b1537ebdd4b91405ecb4fdb379120f8820e15212.zip
rewrite some of the type refinement code to eliminate dangling pointers
simplify the code and generally make it more robust. llvm-svn: 46745
Diffstat (limited to 'clang/CodeGen/CodeGenModule.h')
-rw-r--r--clang/CodeGen/CodeGenModule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/CodeGen/CodeGenModule.h b/clang/CodeGen/CodeGenModule.h
index 87b9e9ce164..5135c1b598a 100644
--- a/clang/CodeGen/CodeGenModule.h
+++ b/clang/CodeGen/CodeGenModule.h
@@ -34,6 +34,7 @@ namespace clang {
class Stmt;
class ValueDecl;
class VarDecl;
+ class TypeDecl;
class FileVarDecl;
struct LangOptions;
class Diagnostic;
@@ -87,6 +88,7 @@ public:
void EmitFunction(const FunctionDecl *FD);
void EmitGlobalVar(const FileVarDecl *D);
void EmitGlobalVarDeclarator(const FileVarDecl *D);
+ void EmitType(const TypeDecl *D);
llvm::Constant *EmitGlobalInit(const Expr *E);
llvm::Constant *EmitConstantExpr(const Expr *E);
OpenPOWER on IntegriCloud