parent
fb46605e47
commit
03bea79b23
|
@ -226,6 +226,9 @@ public:
|
||||||
/// casts from the specified value, returning the original uncasted value.
|
/// casts from the specified value, returning the original uncasted value.
|
||||||
/// Note that the returned value is guaranteed to have pointer type.
|
/// Note that the returned value is guaranteed to have pointer type.
|
||||||
Value *stripPointerCasts();
|
Value *stripPointerCasts();
|
||||||
|
const Value *stripPointerCasts() const {
|
||||||
|
return const_cast<Value*>(this)->stripPointerCasts();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
inline std::ostream &operator<<(std::ostream &OS, const Value &V) {
|
inline std::ostream &operator<<(std::ostream &OS, const Value &V) {
|
||||||
|
|
Loading…
Reference in New Issue