Lines Matching refs:FromTy
95 template<typename To, typename FromTy>
96 struct isa_impl_wrap<To, FromTy, FromTy> {
98 static bool doit(const FromTy &Val) {
99 return isa_impl_cl<To,FromTy>::doit(Val);
150 template<class To, class FromTy>
151 struct cast_retty_wrap<To, FromTy, FromTy> {
153 typedef typename cast_retty_impl<To,FromTy>::ret_type ret_type;
174 template<class To, class FromTy> struct cast_convert_val<To,FromTy,FromTy> {
176 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
177 typename cast_retty<To, FromTy>::ret_type Res2
178 = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);