aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-31 22:17:44 +0000
committerChris Lattner <sabre@nondot.org>2009-03-31 22:17:44 +0000
commit481769b5dc102b0256b35581e787909ad5edfab5 (patch)
tree7805d01be92ac37b59ccba269c9e7544cde6969d /lib/CodeGen/CodeGenFunction.h
parent91e28afe3503893c69afd71877f11e3bf03fa4ce (diff)
remove some obsolete comments, use an AssertingVH.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index f850cfdc5b..9dbbb25b22 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -15,16 +15,13 @@
#define CLANG_CODEGEN_CODEGENFUNCTION_H
#include "clang/AST/Type.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/SmallVector.h"
-#include "clang/Basic/TargetInfo.h"
-#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/ExprObjC.h"
-
-#include <vector>
+#include "clang/Basic/TargetInfo.h"
+#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/SmallVector.h"
+#include "llvm/Support/ValueHandle.h"
#include <map>
-
#include "CGBlocks.h"
#include "CGBuilder.h"
#include "CGCall.h"
@@ -87,7 +84,7 @@ public:
/// AllocaInsertPoint - This is an instruction in the entry block before which
/// we prefer to insert allocas.
- llvm::Instruction *AllocaInsertPt;
+ llvm::AssertingVH<llvm::Instruction> AllocaInsertPt;
const llvm::Type *LLVMIntTy;
uint32_t LLVMPointerWidth;