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

/external/llvm/include/llvm/Support/
H A DCasting.h143 template<class To, class From> struct cast_retty;
173 typedef typename cast_retty<To, SimpleFrom>::ret_type ret_type;
183 struct cast_retty { struct in namespace:llvm
193 static typename cast_retty<To, From>::ret_type doit(From &Val) {
202 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
203 typename cast_retty<To, FromTy>::ret_type Res2
204 = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
223 typename cast_retty<X, const Y>::ret_type>::type
231 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
238 inline typename cast_retty<
[all...]

Completed in 74 milliseconds