diff options
author | Devang Patel <dpatel@apple.com> | 2007-10-30 21:27:20 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-10-30 21:27:20 +0000 |
commit | 73721a12ca9d200cdc2bea178d40073cbbca0476 (patch) | |
tree | e383db84f61479389512f8a6684d7717edfb5e95 /clang/CodeGen/CodeGenModule.h | |
parent | c08bca6ae8173cc76bdffeab3ac21b5f40355f19 (diff) | |
download | bcm5719-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.h | 3 |
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() {} }; |