diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-13 07:32:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-13 07:32:11 +0000 |
commit | 50b36741673258aaebcd3c7fe1260031901cae57 (patch) | |
tree | f462debf1528d5b4d59be74eaf7015dff86e1ddf /lib/CodeGen/CodeGenFunction.h | |
parent | 1b30cb27f894687c6021e7331265ae21aeb57d3f (diff) |
update to follow mainline llvm API change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49607 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 61a0d744f6..df2c8b2331 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -17,7 +17,7 @@ #include "clang/AST/Type.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" -#include "llvm/Support/LLVMBuilder.h" +#include "llvm/Support/IRBuilder.h" #include <vector> namespace llvm { @@ -244,7 +244,7 @@ public: TargetInfo &Target; typedef std::pair<llvm::Value *, llvm::Value *> ComplexPairTy; - llvm::LLVMFoldingBuilder Builder; + llvm::IRBuilder Builder; // Holds the Decl for the current function or method const Decl *CurFuncDecl; |