diff options
Diffstat (limited to 'include/llvm/Type.h')
-rw-r--r-- | include/llvm/Type.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 10e14dd8de..def45750dd 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -346,8 +346,10 @@ public: unsigned getVectorNumElements() const; Type *getVectorElementType() const { return getSequentialElementType(); } - unsigned getPointerAddressSpace() const; Type *getPointerElementType() const { return getSequentialElementType(); } + + /// \brief Get the address space of this pointer or pointer vector type. + unsigned getPointerAddressSpace() const; //===--------------------------------------------------------------------===// // Static members exported by the Type class itself. Useful for getting |