Lines Matching defs:CStyle

221                                            QualType DestType, bool CStyle,
226 QualType DestType, bool CStyle,
232 QualType DestType, bool CStyle,
238 CanQualType DestType, bool CStyle,
246 QualType DestType,bool CStyle,
262 QualType DestType, bool CStyle,
265 QualType DestType, bool CStyle,
269 QualType DestType, bool CStyle,
979 auto TCR = TryConstCast(Self, SrcExpr, DestType, /*CStyle*/ false, msg);
991 TryAddressSpaceCast(Self, SrcExpr, DestType, /*CStyle*/ false, msg, Kind);
1209 /*CStyle*/false, OpRange, msg, Kind);
1319 /// possible. If @p CStyle, ignore access restrictions on hierarchy casting
1327 bool CStyle = (CCK == CheckedConversionKind::CStyleCast ||
1350 tcr = TryStaticReferenceDowncast(Self, SrcExpr.get(), DestType, CStyle,
1358 tcr = TryLValueToRValueCast(Self, SrcExpr.get(), DestType, CStyle, Kind,
1379 // In the CStyle case, the earlier attempt to const_cast should have taken
1433 tcr = TryStaticPointerDowncast(Self, SrcType, DestType, CStyle, OpRange, msg,
1441 tcr = TryStaticMemberPointerUpcast(Self, SrcExpr, SrcType, DestType, CStyle,
1458 if (!CStyle) {
1480 if (!CStyle && Self.getLangOpts().MSVCCompat &&
1493 else if (CStyle && DestType->isBlockPointerType()) {
1508 if (!CStyle &&
1534 QualType DestType, bool CStyle,
1549 // FIXME: Should allow casting away constness if CStyle.
1552 if (CStyle) {
1561 if (CStyle || RefResult == Sema::Ref_Incompatible)
1589 bool CStyle, SourceRange OpRange,
1619 Self.Context.getCanonicalType(DestPointee), CStyle,
1627 bool CStyle, SourceRange OpRange,
1652 CStyle, OpRange, SrcType, DestType, msg, Kind,
1661 bool CStyle, SourceRange OpRange, QualType OrigSrcType,
1699 if (!CStyle &&
1744 if (!CStyle) {
1774 QualType DestType, bool CStyle,
1843 if (!CStyle) {
1925 bool CStyle = (CCK == CheckedConversionKind::CStyleCast ||
1927 if (InitSeq.Failed() && (CStyle || !DestType->isReferenceType()))
1948 QualType DestType, bool CStyle,
2012 if (!CStyle)
2021 if (!CStyle)
2211 static void checkIntToPointerCast(bool CStyle, const SourceRange &OpRange,
2219 if (CStyle && SrcType->isIntegralType(Self.Context)
2266 QualType DestType, bool CStyle,
2295 if (!CStyle) {
2368 CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
2369 /*CheckObjCLifetime=*/CStyle))
2424 if (Self.LangOpts.OpenCL && !CStyle) {
2500 checkIntToPointerCast(CStyle, OpRange, SrcExpr.get(), DestType, Self);
2524 CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
2525 /*CheckObjCLifetime=*/CStyle))
2531 if (!CStyle &&
2552 if (CStyle && DestType->isObjCObjectPointerType()) {
2555 if (CStyle)
2603 << CStyle << SrcType << DestType << SrcExpr.get()->getSourceRange();
2619 QualType DestType, bool CStyle,
2821 /*CStyle*/ true, msg);
2831 tcr = TryAddressSpaceCast(Self, SrcExpr, DestType, /*CStyle*/ true, msg,
2846 tcr = TryReinterpretCast(Self, SrcExpr, DestType, /*CStyle*/ true,
3171 checkIntToPointerCast(/* CStyle */ true, OpRange, SrcExpr.get(), DestType,