summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-10-31 04:53:03 +0000
committerChris Lattner <sabre@nondot.org>2007-10-31 04:53:03 +0000
commit5087e267c259b564cd2ce93e43aacaa07083dec0 (patch)
treedf0a247a6f4e83ea8d26e725e74fb1e8cb52c93c /clang/CodeGen/CodeGenModule.h
parent37e011ce4322d3143050e883a538e57e54ce4d78 (diff)
downloadbcm5719-llvm-5087e267c259b564cd2ce93e43aacaa07083dec0.tar.gz
bcm5719-llvm-5087e267c259b564cd2ce93e43aacaa07083dec0.zip
temporarily revert devang's patch to link in the llvm codegen etc.
llvm-svn: 43544
Diffstat (limited to 'clang/CodeGen/CodeGenModule.h')
-rw-r--r--clang/CodeGen/CodeGenModule.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/CodeGen/CodeGenModule.h b/clang/CodeGen/CodeGenModule.h
index a044c0d02ee..4ca4f8c5506 100644
--- a/clang/CodeGen/CodeGenModule.h
+++ b/clang/CodeGen/CodeGenModule.h
@@ -23,7 +23,6 @@ namespace llvm {
class Constant;
class Function;
class GlobalVariable;
- class TargetData;
}
namespace clang {
@@ -40,7 +39,6 @@ namespace CodeGen {
class CodeGenModule {
ASTContext &Context;
llvm::Module &TheModule;
- const llvm::TargetData &TheTargetData;
CodeGenTypes Types;
llvm::Function *MemCpyFn;
@@ -51,7 +49,7 @@ class CodeGenModule {
std::vector<llvm::Function *> BuiltinFunctions;
public:
- CodeGenModule(ASTContext &C, llvm::Module &M, const llvm::TargetData &TD);
+ CodeGenModule(ASTContext &C, llvm::Module &M);
ASTContext &getContext() const { return Context; }
llvm::Module &getModule() const { return TheModule; }
OpenPOWER on IntegriCloud