summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorMicah Villmow <villmow@gmail.com>2012-10-24 17:20:04 +0000
committerMicah Villmow <villmow@gmail.com>2012-10-24 17:20:04 +0000
commit2f87640b86315beab8a5671cc23f524e59c58bd3 (patch)
treecb18e28b2d6aa7b36dcca2f78cab41f315409d51 /include/llvm
parentaa76e9e2cf50af190de90bc778b7f7e42ef9ceff (diff)
downloadllvm-2f87640b86315beab8a5671cc23f524e59c58bd3.tar.gz
llvm-2f87640b86315beab8a5671cc23f524e59c58bd3.tar.bz2
llvm-2f87640b86315beab8a5671cc23f524e59c58bd3.tar.xz
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
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Type.h12
1 files changed, 9 insertions, 3 deletions
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