summaryrefslogtreecommitdiffstats
path: root/clang/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
commitd14bfa94a6cbe5301edbb2b722336c5fa68a5b8e (patch)
treed64e72f4cad562f7c728d9c507193428876ae3c4 /clang/CodeGen/CodeGenModule.h
parentfc7634f2ab5db74befd6cdaf39cdfcb632fcfc85 (diff)
downloadbcm5719-llvm-d14bfa94a6cbe5301edbb2b722336c5fa68a5b8e.tar.gz
bcm5719-llvm-d14bfa94a6cbe5301edbb2b722336c5fa68a5b8e.zip
implement support for basic codegen of global variables with no initializers.
llvm-svn: 39795
Diffstat (limited to 'clang/CodeGen/CodeGenModule.h')
-rw-r--r--clang/CodeGen/CodeGenModule.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/CodeGen/CodeGenModule.h b/clang/CodeGen/CodeGenModule.h
index 885fb97a9f5..9d8547030ec 100644
--- a/clang/CodeGen/CodeGenModule.h
+++ b/clang/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() {}
};
OpenPOWER on IntegriCloud