search for: setaddressspace

Displaying 1 result from an estimated 1 matches for "setaddressspace".

Did you mean: getaddressspace
2012 Jun 10
1
[LLVMdev] Why no setAddressSpace method?
...DerivedTypes.h (revision 156703) +++ DerivedTypes.h (working copy) @@ -450,6 +450,9 @@ /// @brief Return the address space of the Pointer type. inline unsigned getAddressSpace() const { return getSubclassData(); } + /// @brief Set the address space of the Pointer type. + inline void setAddressSpace(unsigned addrspace) { setSubclassData(addrspace); } + // Implement support type inquiry through isa, cast, and dyn_cast. static inline bool classof(const PointerType *) { return true; } static inline bool classof(const Type *T) { - is it wrong or undesired by some reason? This way it woul...