Lines Matching refs:FromTy
2533 template<class FromTy>
2534 struct cast_convert_val< ::clang::DeclContext, FromTy, FromTy> {
2535 static ::clang::DeclContext &doit(const FromTy &Val) {
2536 return *FromTy::castToDeclContext(&Val);
2540 template<class FromTy>
2541 struct cast_convert_val< ::clang::DeclContext, FromTy*, FromTy*> {
2542 static ::clang::DeclContext *doit(const FromTy *Val) {
2543 return FromTy::castToDeclContext(Val);
2547 template<class FromTy>
2548 struct cast_convert_val< const ::clang::DeclContext, FromTy, FromTy> {
2549 static const ::clang::DeclContext &doit(const FromTy &Val) {
2550 return *FromTy::castToDeclContext(&Val);
2554 template<class FromTy>
2555 struct cast_convert_val< const ::clang::DeclContext, FromTy*, FromTy*> {
2556 static const ::clang::DeclContext *doit(const FromTy *Val) {
2557 return FromTy::castToDeclContext(Val);