Lines Matching defs:tcr
1202 TryCastResult tcr =
1205 if (tcr != TC_Success && msg != 0) {
1221 if (isValidCast(tcr)) {
1274 TryCastResult tcr =
1277 if (tcr != TC_Success && msg != 0) {
1292 if (isValidCast(tcr)) {
1340 TryCastResult tcr;
1345 tcr = TryStaticReferenceDowncast(Self, SrcExpr.get(), DestType, CStyle,
1347 if (tcr != TC_NotApplicable)
1348 return tcr;
1353 tcr = TryLValueToRValueCast(Self, SrcExpr.get(), DestType, CStyle, Kind,
1355 if (tcr != TC_NotApplicable)
1356 return tcr;
1360 tcr = TryStaticImplicitCast(Self, SrcExpr, DestType, CCK, OpRange, msg,
1364 if (tcr != TC_NotApplicable)
1365 return tcr;
1428 tcr = TryStaticPointerDowncast(Self, SrcType, DestType, CStyle, OpRange, msg,
1430 if (tcr != TC_NotApplicable)
1431 return tcr;
1436 tcr = TryStaticMemberPointerUpcast(Self, SrcExpr, SrcType, DestType, CStyle,
1438 if (tcr != TC_NotApplicable)
1439 return tcr;
2807 TryCastResult tcr = TryConstCast(Self, SrcExpr, DestType,
2811 if (isValidCast(tcr))
2817 if (tcr == TC_NotApplicable) {
2818 tcr = TryAddressSpaceCast(Self, SrcExpr, DestType, /*CStyle*/ true, msg,
2823 if (tcr == TC_NotApplicable) {
2826 tcr = TryStaticCast(Self, SrcExpr, DestType, CCK, OpRange, msg, Kind,
2831 if (tcr == TC_NotApplicable) {
2833 tcr = TryReinterpretCast(Self, SrcExpr, DestType, /*CStyle*/ true,
2842 isValidCast(tcr))
2845 if (tcr != TC_Success && msg != 0) {
2868 if (isValidCast(tcr)) {