Lines Matching defs:tcr
1207 TryCastResult tcr =
1210 if (tcr != TC_Success && msg != 0) {
1226 if (isValidCast(tcr)) {
1279 TryCastResult tcr =
1282 if (tcr != TC_Success && msg != 0) {
1297 if (isValidCast(tcr)) {
1345 TryCastResult tcr;
1350 tcr = TryStaticReferenceDowncast(Self, SrcExpr.get(), DestType, CStyle,
1352 if (tcr != TC_NotApplicable)
1353 return tcr;
1358 tcr = TryLValueToRValueCast(Self, SrcExpr.get(), DestType, CStyle, Kind,
1360 if (tcr != TC_NotApplicable)
1361 return tcr;
1365 tcr = TryStaticImplicitCast(Self, SrcExpr, DestType, CCK, OpRange, msg,
1369 if (tcr != TC_NotApplicable)
1370 return tcr;
1433 tcr = TryStaticPointerDowncast(Self, SrcType, DestType, CStyle, OpRange, msg,
1435 if (tcr != TC_NotApplicable)
1436 return tcr;
1441 tcr = TryStaticMemberPointerUpcast(Self, SrcExpr, SrcType, DestType, CStyle,
1443 if (tcr != TC_NotApplicable)
1444 return tcr;
2820 TryCastResult tcr = TryConstCast(Self, SrcExpr, DestType,
2824 if (isValidCast(tcr))
2830 if (tcr == TC_NotApplicable) {
2831 tcr = TryAddressSpaceCast(Self, SrcExpr, DestType, /*CStyle*/ true, msg,
2836 if (tcr == TC_NotApplicable) {
2839 tcr = TryStaticCast(Self, SrcExpr, DestType, CCK, OpRange, msg, Kind,
2844 if (tcr == TC_NotApplicable) {
2846 tcr = TryReinterpretCast(Self, SrcExpr, DestType, /*CStyle*/ true,
2855 isValidCast(tcr))
2858 if (tcr != TC_Success && msg != 0) {
2881 if (isValidCast(tcr)) {