Refactor code into a separate method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43519 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CodeGenModule.h b/CodeGen/CodeGenModule.h
index d94f54a..4ca4f8c 100644
--- a/CodeGen/CodeGenModule.h
+++ b/CodeGen/CodeGenModule.h
@@ -22,6 +22,7 @@
class Module;
class Constant;
class Function;
+ class GlobalVariable;
}
namespace clang {
@@ -67,6 +68,8 @@
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() {}
};