Lines Matching refs:ret_type
123 typedef To& ret_type; // Normal case, return Ty&
126 typedef const To &ret_type; // Normal case, return Ty&
130 typedef To* ret_type; // Pointer arg case, return Ty*
134 typedef const To* ret_type; // Constant pointer arg case, return const Ty*
138 typedef const To* ret_type; // Constant pointer arg case, return const Ty*
147 typedef typename cast_retty<To, SimpleFrom>::ret_type ret_type;
153 typedef typename cast_retty_impl<To,FromTy>::ret_type ret_type;
159 typename simplify_type<From>::SimpleType>::ret_type ret_type;
167 static typename cast_retty<To, From>::ret_type doit(const From &Val) {
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);
193 inline typename cast_retty<X, Y>::ret_type cast(const Y &Val) {
203 inline typename cast_retty<X, Y*>::ret_type cast_or_null(Y *Val) {
219 inline typename cast_retty<X, Y>::ret_type dyn_cast(const Y &Val) {
227 inline typename cast_retty<X, Y*>::ret_type dyn_cast_or_null(Y *Val) {