New Method isLosslesslyConvertableTo

llvm-svn: 1330
This commit is contained in:
Chris Lattner 2001-11-26 16:47:10 +00:00
parent ee35c37a0a
commit 7e26de46a3
1 changed files with 5 additions and 0 deletions

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
//