diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-13 05:13:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-13 05:13:43 +0000 |
commit | 88a69ad80e1550e9932666e6efa050a5b1223889 (patch) | |
tree | 285b66d3e3590e4b453b66d34332f35a3e567d39 /CodeGen/CodeGenModule.h | |
parent | fa7c64562d0bf0c9014f0b733a9eaad139c72484 (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.h | 4 |
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() {} }; |