From 481769b5dc102b0256b35581e787909ad5edfab5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 31 Mar 2009 22:17:44 +0000 Subject: remove some obsolete comments, use an AssertingVH. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68151 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'lib/CodeGen/CodeGenFunction.h') 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 +#include "clang/Basic/TargetInfo.h" +#include "llvm/ADT/DenseMap.h" +#include "llvm/ADT/SmallVector.h" +#include "llvm/Support/ValueHandle.h" #include - #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 AllocaInsertPt; const llvm::Type *LLVMIntTy; uint32_t LLVMPointerWidth; -- cgit v1.2.3-70-g09d2