diff options
author | Micah Villmow <villmow@gmail.com> | 2012-10-24 17:25:11 +0000 |
---|---|---|
committer | Micah Villmow <villmow@gmail.com> | 2012-10-24 17:25:11 +0000 |
commit | b8bce928f4ffdf50eff69334f3e25b27848536b6 (patch) | |
tree | e334a8f1cd0126aafd8ae6cc2ca13ed654620193 /include/llvm | |
parent | 0873bea3ed2d740208131f7f1706b0628c0aae09 (diff) | |
download | llvm-b8bce928f4ffdf50eff69334f3e25b27848536b6.tar.gz llvm-b8bce928f4ffdf50eff69334f3e25b27848536b6.tar.bz2 llvm-b8bce928f4ffdf50eff69334f3e25b27848536b6.tar.xz |
Back out r166591, not sure why this made it through since I cancelled the command. Bleh, sorry about this!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Type.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 2c1313afbe..5a867045af 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -389,16 +389,10 @@ 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 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. This is equivalent + /// to PointerType::get(Foo, AddrSpace). + PointerType *getPointerTo(unsigned AddrSpace = 0); - /// 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 |