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 | 9e32d4b4a7270a9701b7cb454381eeaa4cc42a77 (patch) | |
tree | f17e371973dc57ed1f699015e7fbc8862f2b3f38 /CodeGen/CodeGenModule.h | |
parent | 78d85f53b093867bbb0123f016956178eea7343e (diff) |
Refactor code into a separate method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43519 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenModule.h')
-rw-r--r-- | CodeGen/CodeGenModule.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CodeGen/CodeGenModule.h b/CodeGen/CodeGenModule.h index d94f54a846..4ca4f8c550 100644 --- a/CodeGen/CodeGenModule.h +++ b/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() {} }; |