summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-10-30 21:27:20 +0000
committerDevang Patel <dpatel@apple.com>2007-10-30 21:27:20 +0000
commit73721a12ca9d200cdc2bea178d40073cbbca0476 (patch)
treee383db84f61479389512f8a6684d7717edfb5e95 /clang/CodeGen/CodeGenModule.h
parentc08bca6ae8173cc76bdffeab3ac21b5f40355f19 (diff)
downloadbcm5719-llvm-73721a12ca9d200cdc2bea178d40073cbbca0476.tar.gz
bcm5719-llvm-73721a12ca9d200cdc2bea178d40073cbbca0476.zip
Refactor code into a separate method.
llvm-svn: 43519
Diffstat (limited to 'clang/CodeGen/CodeGenModule.h')
-rw-r--r--clang/CodeGen/CodeGenModule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/CodeGen/CodeGenModule.h b/clang/CodeGen/CodeGenModule.h
index d94f54a8468..4ca4f8c5506 100644
--- a/clang/CodeGen/CodeGenModule.h
+++ b/clang/CodeGen/CodeGenModule.h
@@ -22,6 +22,7 @@ namespace llvm {
class Module;
class Constant;
class Function;
+ class GlobalVariable;
}
namespace clang {
@@ -67,6 +68,8 @@ public:
void EmitFunction(const FunctionDecl *FD);
void EmitGlobalVar(const FileVarDecl *D);
void EmitGlobalVarDeclarator(const FileVarDecl *D);
+ llvm::Constant *EmitGlobalInit(const FileVarDecl *D,
+ llvm::GlobalVariable *GV);
void PrintStats() {}
};
OpenPOWER on IntegriCloud