New Method isLosslesslyConvertableTo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-11-26 16:47:10 +00:00
parent 7c0cdc0cc8
commit 283f4e5ac4

View File

@ -141,6 +141,11 @@ public:
// //
inline bool isRecursive() const { return Recursive; } 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 // Type Iteration support
// //