diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index b8b62a3..4a470af 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -430,7 +430,7 @@ public: /// getPointerTo - Return a pointer to the current type. This is equivalent /// to PointerType::get(Foo, AddrSpace). - PointerType *getPointerTo(unsigned AddrSpace = 0) const; + const PointerType *getPointerTo(unsigned AddrSpace = 0) const; private: /// isSizedDerivedType - Derived types like structures and arrays are sized |