forked from OSchip/llvm-project
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:
parent
a6aa3d3b5f
commit
beee2f10e0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue