implement support for basic codegen of global variables with no initializers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39795 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CodeGenModule.h b/CodeGen/CodeGenModule.h
index 885fb97..9d85470 100644
--- a/CodeGen/CodeGenModule.h
+++ b/CodeGen/CodeGenModule.h
@@ -27,6 +27,7 @@
class ASTContext;
class FunctionDecl;
class Decl;
+ class FileVarDecl;
namespace CodeGen {
@@ -50,7 +51,8 @@
llvm::Function *getMemCpyFn();
- void EmitFunction(FunctionDecl *FD);
+ void EmitFunction(const FunctionDecl *FD);
+ void EmitGlobalVar(const FileVarDecl *D);
void PrintStats() {}
};