• Home
  • Raw
  • Download

Lines Matching refs:getBegin

331     = (CT == CT_CStyle)? InitializationKind::CreateCStyleCast(range.getBegin(),  in tryDiagnoseOverloadedCast()
373 S.Diag(range.getBegin(), msg) in tryDiagnoseOverloadedCast()
391 S.Diag(opRange.getBegin(), msg) << castType in diagnoseBadCast()
596 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_ref_or_ptr) in CheckDynamicCast()
606 if (Self.RequireCompleteType(OpRange.getBegin(), DestPointee, in CheckDynamicCast()
613 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_class) in CheckDynamicCast()
629 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_ptr) in CheckDynamicCast()
636 Self.Diag(OpRange.getBegin(), diag::err_bad_cxx_cast_rvalue) in CheckDynamicCast()
651 if (Self.RequireCompleteType(OpRange.getBegin(), SrcPointee, in CheckDynamicCast()
658 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_class) in CheckDynamicCast()
672 Self.Diag(OpRange.getBegin(), diag::err_bad_cxx_cast_qualifiers_away) in CheckDynamicCast()
688 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast()
690 OpRange.getBegin(), OpRange, in CheckDynamicCast()
704 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_polymorphic) in CheckDynamicCast()
713 Self.Diag(OpRange.getBegin(), diag::err_no_dynamic_cast_with_fno_rtti); in CheckDynamicCast()
738 Self.Diag(OpRange.getBegin(), msg) << CT_Const in CheckConstCast()
828 SourceLocation BeginLoc = OpRange.getBegin(); in DiagnoseReinterpretUpDownCast()
860 Self.Diag(OpRange.getBegin(), diag::err_bad_reinterpret_cast_overload) in CheckReinterpretCast()
923 Self.Diag(OpRange.getBegin(), diag::err_bad_static_cast_overload) in CheckStaticCast()
1091 Self.Diag(OpRange.getBegin(), diag::ext_ms_cast_fn_obj) << OpRange; in TryStaticCast()
1266 if (!Self.isCompleteType(OpRange.getBegin(), SrcType) || in TryStaticDowncast()
1267 !Self.isCompleteType(OpRange.getBegin(), DestType)) in TryStaticDowncast()
1277 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast()
1313 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast()
1328 Self.Diag(OpRange.getBegin(), diag::err_ambiguous_base_to_derived_cast) in TryStaticDowncast()
1338 Self.Diag(OpRange.getBegin(), diag::err_static_downcast_via_virtual) in TryStaticDowncast()
1345 switch (Self.CheckBaseClassAccess(OpRange.getBegin(), in TryStaticDowncast()
1404 (void)Self.isCompleteType(OpRange.getBegin(), SrcType); in TryStaticMemberPointerUpcast()
1405 (void)Self.isCompleteType(OpRange.getBegin(), DestType); in TryStaticMemberPointerUpcast()
1418 if (!Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths)) in TryStaticMemberPointerUpcast()
1426 Self.IsDerivedFrom(OpRange.getBegin(), SrcClass, DestClass, Paths); in TryStaticMemberPointerUpcast()
1430 Self.Diag(OpRange.getBegin(), diag::err_ambiguous_memptr_conv) in TryStaticMemberPointerUpcast()
1437 Self.Diag(OpRange.getBegin(), diag::err_memptr_conv_via_virtual) in TryStaticMemberPointerUpcast()
1444 switch (Self.CheckBaseClassAccess(OpRange.getBegin(), in TryStaticMemberPointerUpcast()
1496 if (Self.RequireCompleteType(OpRange.getBegin(), DestType, in TryStaticImplicitCast()
1498 Self.RequireNonAbstractType(OpRange.getBegin(), DestType, in TryStaticImplicitCast()
1508 ? InitializationKind::CreateCStyleCast(OpRange.getBegin(), OpRange, in TryStaticImplicitCast()
1667 if (Diags.isIgnored(DiagID, Range.getBegin())) in CheckCompatibleReinterpretCast()
1707 Diag(Range.getBegin(), DiagID) << SrcType << DestType << Range; in CheckCompatibleReinterpretCast()
1772 Self.Diag(OpRange.getBegin(), diag::warn_cast_calling_conv) in DiagnoseCallingConvCast()
1778 if (Self.Diags.isIgnored(diag::warn_cast_calling_conv, OpRange.getBegin())) in DiagnoseCallingConvCast()
1920 Self.Diag(OpRange.getBegin(), diag::err_bad_reinterpret_cast_reference) in TryReinterpretCast()
1961 (void)Self.isCompleteType(OpRange.getBegin(), SrcType); in TryReinterpretCast()
1962 (void)Self.isCompleteType(OpRange.getBegin(), DestType); in TryReinterpretCast()
2072 checkIntToPointerCast(CStyle, OpRange.getBegin(), SrcExpr.get(), DestType, in TryReinterpretCast()
2141 Self.Diag(OpRange.getBegin(), in TryReinterpretCast()
2150 Self.Diag(OpRange.getBegin(), in TryReinterpretCast()
2278 Self.Diag(OpRange.getBegin(), diag::err_bad_cstyle_cast_overload) in CheckCXXCStyleCast()
2380 Self.Diag(OpRange.getBegin(), in CheckCStyleCast()
2389 if (Self.RequireCompleteType(OpRange.getBegin(), DestType, in CheckCStyleCast()
2400 Self.Diag(OpRange.getBegin(), diag::ext_typecheck_cast_nonscalar) in CheckCStyleCast()
2414 Self.Diag(OpRange.getBegin(), diag::ext_typecheck_cast_to_union) in CheckCStyleCast()
2420 Self.Diag(OpRange.getBegin(), diag::err_typecheck_cast_to_union_no_type) in CheckCStyleCast()
2437 Self.Diag(OpRange.getBegin(), in CheckCStyleCast()
2446 Self.Diag(OpRange.getBegin(), diag::err_typecheck_cond_expect_scalar) in CheckCStyleCast()
2506 checkIntToPointerCast(/* CStyle */ true, OpRange.getBegin(), SrcExpr.get(), in CheckCStyleCast()
2623 Op.OpRange = SourceRange(Op.DestRange.getBegin(), CastExpr->getLocEnd()); in BuildCXXFunctionalCastExpr()