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

llvm-svn: 158924
This commit is contained in:
Nuno Lopes 2012-06-21 16:58:41 +00:00
parent a6aa3d3b5f
commit beee2f10e0
1 changed files with 4 additions and 3 deletions

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;