New Method isLosslesslyConvertableTo

llvm-svn: 1330
This commit is contained in:
Chris Lattner 2001-11-26 16:47:10 +00:00
parent 92dbc49699
commit 9d1784afff

View File

@ -141,6 +141,11 @@ public:
//
inline bool isRecursive() const { return Recursive; }
// isLosslesslyConvertableTo - Return true if this type can be converted to
// 'Ty' without any reinterpretation of bits. For example, uint to int.
//
bool isLosslesslyConvertableTo(const Type *Ty) const;
//===--------------------------------------------------------------------===//
// Type Iteration support
//