aboutsummaryrefslogtreecommitdiff
path: root/include/clang
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 /include/clang
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 'include/clang')
-rw-r--r--include/clang/Basic/TargetInfo.h5
-rw-r--r--include/clang/CodeGen/ModuleBuilder.h4
2 files changed, 1 insertions, 8 deletions
diff --git a/include/clang/Basic/TargetInfo.h b/include/clang/Basic/TargetInfo.h
index f766f9e26b..334f87851d 100644
--- a/include/clang/Basic/TargetInfo.h
+++ b/include/clang/Basic/TargetInfo.h
@@ -218,11 +218,6 @@ public:
getLongLongInfo(Size, Align, Loc);
return static_cast<unsigned>(Size);
}
-
- const char *getTargetTriple() {
- // FIXME !
- return "i686-apple-darwin9";
- }
private:
void ComputeWCharInfo(SourceLocation Loc);
};
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h
index 96b0f59b8e..0b1ae476ed 100644
--- a/include/clang/CodeGen/ModuleBuilder.h
+++ b/include/clang/CodeGen/ModuleBuilder.h
@@ -16,7 +16,6 @@
namespace llvm {
class Module;
- class TargetData;
}
namespace clang {
@@ -30,8 +29,7 @@ namespace CodeGen {
typedef void BuilderTy;
/// Init - Create an ModuleBuilder with the specified ASTContext.
- BuilderTy *Init(ASTContext &Context, llvm::Module &M,
- const llvm::TargetData &TD);
+ BuilderTy *Init(ASTContext &Context, llvm::Module &M);
/// CodeGenFunction - Convert the AST node for a FunctionDecl into LLVM.
///