Lines Matching refs:ret_type
126 typedef To& ret_type; // Normal case, return Ty&
129 typedef const To &ret_type; // Normal case, return Ty&
133 typedef To* ret_type; // Pointer arg case, return Ty*
137 typedef const To* ret_type; // Constant pointer arg case, return const Ty*
141 typedef const To* ret_type; // Constant pointer arg case, return const Ty*
150 typedef typename cast_retty<To, SimpleFrom>::ret_type ret_type;
156 typedef typename cast_retty_impl<To,FromTy>::ret_type ret_type;
162 typename simplify_type<From>::SimpleType>::ret_type ret_type;
170 static typename cast_retty<To, From>::ret_type doit(const From &Val) {
179 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
180 typename cast_retty<To, FromTy>::ret_type Res2
181 = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
196 inline typename cast_retty<X, Y>::ret_type cast(const Y &Val) {
206 inline typename cast_retty<X, Y*>::ret_type cast_or_null(Y *Val) {
222 inline typename cast_retty<X, Y>::ret_type dyn_cast(const Y &Val) {
230 inline typename cast_retty<X, Y*>::ret_type dyn_cast_or_null(Y *Val) {