aboutsummaryrefslogtreecommitdiff
path: root/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
commite03cd7b7c8dfcc2615fd6d53fffecd1c07c89fc6 (patch)
tree8b9b1db3ab708d78ba2287a1bb12e79b489a2051 /CodeGen/CodeGenModule.h
parent9165ad378f8d25eb5c378a8e9540089afce421ff (diff)
temporarily revert devang's patch to link in the llvm codegen etc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenModule.h')
-rw-r--r--CodeGen/CodeGenModule.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/CodeGen/CodeGenModule.h b/CodeGen/CodeGenModule.h
index a044c0d02e..4ca4f8c550 100644
--- a/CodeGen/CodeGenModule.h
+++ b/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; }