Searched defs:cast_retty (Results 1 - 1 of 1) sorted by relevance

/external/llvm/include/llvm/Support/
H A DCasting.h141 template<class To, class From> struct cast_retty;
171 typedef typename cast_retty<To, SimpleFrom>::ret_type ret_type;
181 struct cast_retty { struct in namespace:llvm
191 static typename cast_retty<To, From>::ret_type doit(From &Val) {
200 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
201 typename cast_retty<To, FromTy>::ret_type Res2
202 = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
221 typename cast_retty<X, const Y>::ret_type>::type
229 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
236 inline typename cast_retty<
[all...]

Completed in 66 milliseconds