From 2f87640b86315beab8a5671cc23f524e59c58bd3 Mon Sep 17 00:00:00 2001 From: Micah Villmow Date: Wed, 24 Oct 2012 17:20:04 +0000 Subject: Delete a directory that wasn't supposed to be checked in yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166591 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Type.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'include/llvm/Type.h') diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 5a867045af..2c1313afbe 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -389,10 +389,16 @@ public: static PointerType *getInt32PtrTy(LLVMContext &C, unsigned AS = 0); static PointerType *getInt64PtrTy(LLVMContext &C, unsigned AS = 0); - /// getPointerTo - Return a pointer to the current type. This is equivalent - /// to PointerType::get(Foo, AddrSpace). - PointerType *getPointerTo(unsigned AddrSpace = 0); + /// getPointerTo - Return a pointer to the current type for the given address space. + /// This is equivalent to PointerType::get(Foo, AddrSpace). + PointerType *getPointerTo(unsigned AddrSpace); + /// getPointerTo - Return a pointer to the current type for the address space + /// space of the passed in type. + PointerType *getPointerTo(const Type *Ty); + + /// getPointerTo - Retrun a pointer to the current type. + PointerType *getPointerTo(); private: /// isSizedDerivedType - Derived types like structures and arrays are sized /// iff all of the members of the type are sized as well. Since asking for -- cgit v1.2.3