aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-11-01 01:53:16 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-11-01 01:53:16 +0000
commit45d196b8387dcefc4df26cda114fa34c6528e928 (patch)
tree849b7fd5a97218def7729663bc1b83b68f13f199 /lib/CodeGen/CodeGenFunction.h
parent09d84babc2d1f36bbf9c3aaa624d5aea52461f46 (diff)
Move IRBuilder type definition to common file.
- No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index d57efa94f5..797cbf42b2 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -17,7 +17,6 @@
#include "clang/AST/Type.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
-#include "llvm/Support/IRBuilder.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/ExprObjC.h"
@@ -25,6 +24,7 @@
#include <vector>
#include <map>
+#include "CGBuilder.h"
#include "CGCall.h"
#include "CGValue.h"
@@ -52,7 +52,7 @@ namespace CodeGen {
class CodeGenModule;
class CodeGenTypes;
class CGRecordLayout;
-
+
/// CodeGenFunction - This class organizes the per-function state that is used
/// while generating LLVM code.
class CodeGenFunction {
@@ -61,7 +61,7 @@ public:
TargetInfo &Target;
typedef std::pair<llvm::Value *, llvm::Value *> ComplexPairTy;
- llvm::IRBuilder<> Builder;
+ CGBuilderTy Builder;
// Holds the Decl for the current function or method
const Decl *CurFuncDecl;