aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-07-13 05:13:43 +0000
committerChris Lattner <sabre@nondot.org>2007-07-13 05:13:43 +0000
commit88a69ad80e1550e9932666e6efa050a5b1223889 (patch)
tree285b66d3e3590e4b453b66d34332f35a3e567d39 /CodeGen/CodeGenModule.h
parentfa7c64562d0bf0c9014f0b733a9eaad139c72484 (diff)
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
Diffstat (limited to 'CodeGen/CodeGenModule.h')
-rw-r--r--CodeGen/CodeGenModule.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/CodeGen/CodeGenModule.h b/CodeGen/CodeGenModule.h
index 885fb97a9f..9d8547030e 100644
--- a/CodeGen/CodeGenModule.h
+++ b/CodeGen/CodeGenModule.h
@@ -27,6 +27,7 @@ namespace clang {
class ASTContext;
class FunctionDecl;
class Decl;
+ class FileVarDecl;
namespace CodeGen {
@@ -50,7 +51,8 @@ public:
llvm::Function *getMemCpyFn();
- void EmitFunction(FunctionDecl *FD);
+ void EmitFunction(const FunctionDecl *FD);
+ void EmitGlobalVar(const FileVarDecl *D);
void PrintStats() {}
};