aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'CodeGen/CodeGenModule.h')
-rw-r--r--CodeGen/CodeGenModule.h3
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() {}
};