move some typedefs so that we don't polute the llvm namespace. this should appease the GCC buildbots

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158924 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nuno Lopes 2012-06-21 16:58:41 +00:00
parent 034dd6c6a1
commit 10cefaab3f

View File

@ -192,9 +192,6 @@ public:
};
typedef std::pair<Value*, Value*> SizeOffsetEvalType;
typedef IRBuilder<true, TargetFolder> BuilderTy;
typedef DenseMap<const Value*, SizeOffsetEvalType> CacheMapTy;
typedef SmallPtrSet<const Value*, 8> PtrSetTy;
/// \brief Evaluate the size and offset of an object ponted by a Value*.
@ -202,6 +199,10 @@ typedef SmallPtrSet<const Value*, 8> PtrSetTy;
class ObjectSizeOffsetEvaluator
: public InstVisitor<ObjectSizeOffsetEvaluator, SizeOffsetEvalType> {
typedef IRBuilder<true, TargetFolder> BuilderTy;
typedef DenseMap<const Value*, SizeOffsetEvalType> CacheMapTy;
typedef SmallPtrSet<const Value*, 8> PtrSetTy;
const TargetData *TD;
LLVMContext &Context;
BuilderTy Builder;