From beee2f10e0d3507031889a771d225e781a8b8925 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Thu, 21 Jun 2012 16:58:41 +0000 Subject: [PATCH] move some typedefs so that we don't polute the llvm namespace. this should appease the GCC buildbots llvm-svn: 158924 --- llvm/include/llvm/Analysis/MemoryBuiltins.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/Analysis/MemoryBuiltins.h b/llvm/include/llvm/Analysis/MemoryBuiltins.h index ab4a3f3c131f..c212bbbba1b3 100644 --- a/llvm/include/llvm/Analysis/MemoryBuiltins.h +++ b/llvm/include/llvm/Analysis/MemoryBuiltins.h @@ -192,9 +192,6 @@ public: }; typedef std::pair SizeOffsetEvalType; -typedef IRBuilder BuilderTy; -typedef DenseMap CacheMapTy; -typedef SmallPtrSet PtrSetTy; /// \brief Evaluate the size and offset of an object ponted by a Value*. @@ -202,6 +199,10 @@ typedef SmallPtrSet PtrSetTy; class ObjectSizeOffsetEvaluator : public InstVisitor { + typedef IRBuilder BuilderTy; + typedef DenseMap CacheMapTy; + typedef SmallPtrSet PtrSetTy; + const TargetData *TD; LLVMContext &Context; BuilderTy Builder;