reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
138 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); 145 if (Self.CheckObjCConversion(OpRange, DestType, src, CCK) == 269 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); 351 Op.OpRange = SourceRange(KWLoc, RParenLoc); 732 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_ref_or_ptr) 742 if (Self.RequireCompleteType(OpRange.getBegin(), DestPointee, 749 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_class) 765 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_ptr) 772 Self.Diag(OpRange.getBegin(), diag::err_bad_cxx_cast_rvalue) 773 << CT_Dynamic << OrigSrcType << this->DestType << OpRange; 787 if (Self.RequireCompleteType(OpRange.getBegin(), SrcPointee, 794 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_class) 808 Self.Diag(OpRange.getBegin(), diag::err_bad_cxx_cast_qualifiers_away) 809 << CT_Dynamic << OrigSrcType << this->DestType << OpRange; 824 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { 826 OpRange.getBegin(), OpRange, 826 OpRange.getBegin(), OpRange, 840 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_polymorphic) 849 Self.Diag(OpRange.getBegin(), diag::err_no_dynamic_cast_with_fno_rtti); 874 Self.Diag(OpRange.getBegin(), msg) << CT_Const 875 << SrcExpr.get()->getType() << DestType << OpRange; 990 /*CStyle*/false, OpRange, msg, Kind); 996 Self.Diag(OpRange.getBegin(), diag::err_bad_reinterpret_cast_overload) 998 << DestType << OpRange; 1002 diagnoseBadCast(Self, msg, CT_Reinterpret, OpRange, SrcExpr.get(), 1010 DiagnoseReinterpretUpDownCast(Self, SrcExpr.get(), DestType, OpRange); 1037 OpRange, DestType, diag::err_bad_static_cast_overload); 1055 = TryStaticCast(Self, SrcExpr, DestType, Sema::CCK_OtherCast, OpRange, msg, 1062 Self.Diag(OpRange.getBegin(), diag::err_bad_static_cast_overload) 1063 << oe->getName() << DestType << OpRange 1067 diagnoseBadCast(Self, msg, CT_Static, OpRange, SrcExpr.get(), DestType, 2383 Self.Diag(OpRange.getBegin(), DiagID) 2493 tcr = TryStaticCast(Self, SrcExpr, DestType, CCK, OpRange, msg, Kind, 2501 OpRange, msg, Kind); 2524 Self.Diag(OpRange.getBegin(), diag::err_bad_cstyle_cast_overload) 2525 << OE->getName() << DestType << OpRange 2531 OpRange, SrcExpr.get(), DestType, ListInitialization); 2625 if (Self.RequireCompleteType(OpRange.getBegin(), DestType, 2636 Self.Diag(OpRange.getBegin(), diag::ext_typecheck_cast_nonscalar) 2646 Self.Diag(OpRange.getBegin(), diag::ext_typecheck_cast_to_union) 2651 Self.Diag(OpRange.getBegin(), diag::err_typecheck_cast_to_union_no_type) 2667 Self.Diag(OpRange.getBegin(), 2676 Self.Diag(OpRange.getBegin(), diag::err_typecheck_cond_expect_scalar) 2694 SrcExpr = Self.CheckExtVectorCast(OpRange, DestType, SrcExpr.get(), Kind); 2703 } else if (Self.CheckVectorCast(OpRange, DestType, SrcType, Kind)) { 2710 if (Self.CheckVectorCast(OpRange, SrcType, DestType, Kind)) 2736 checkIntToPointerCast(/* CStyle */ true, OpRange.getBegin(), SrcExpr.get(), 2791 DiagnoseCallingConvCast(Self, SrcExpr, DestType, OpRange); 2804 if (Self.RequireCompleteType(OpRange.getBegin(), DestType, 2806 Self.RequireCompleteType(OpRange.getBegin(), SrcType, 2819 Self.Diag(OpRange.getBegin(), diag::err_bit_cast_type_size_mismatch) 2826 Self.Diag(OpRange.getBegin(), diag::err_bit_cast_non_trivially_copyable) 2833 Self.Diag(OpRange.getBegin(), diag::err_bit_cast_non_trivially_copyable) 2886 Op.OpRange = SourceRange(LPLoc, CastExpr->getEndLoc()); 2914 Op.OpRange = SourceRange(Op.DestRange.getBegin(), CastExpr->getEndLoc());