Home | History | Annotate | Download | only in Sema

Lines Matching refs:CStyle

160                                            QualType DestType, bool CStyle,
165 QualType DestType, bool CStyle,
171 QualType DestType, bool CStyle,
177 CanQualType DestType, bool CStyle,
185 QualType DestType,bool CStyle,
205 QualType DestType, bool CStyle,
208 QualType DestType, bool CStyle,
705 if (TryConstCast(Self, SrcExpr, DestType, /*CStyle*/false, msg) != TC_Success
822 /*CStyle*/false, OpRange, msg, Kind);
912 /// possible. If @p CStyle, ignore access restrictions on hierarchy casting
921 bool CStyle
944 tcr = TryStaticReferenceDowncast(Self, SrcExpr.get(), DestType, CStyle,
952 tcr = TryLValueToRValueCast(Self, SrcExpr.get(), DestType, CStyle, Kind,
971 // In the CStyle case, the earlier attempt to const_cast should have taken
1014 tcr = TryStaticPointerDowncast(Self, SrcType, DestType, CStyle, OpRange, msg,
1022 tcr = TryStaticMemberPointerUpcast(Self, SrcExpr, SrcType, DestType, CStyle,
1039 if (!CStyle) {
1062 else if (CStyle && DestType->isBlockPointerType()) {
1077 if (!CStyle &&
1088 bool CStyle, CastKind &Kind, CXXCastPath &BasePath,
1102 // FIXME: Should allow casting away constness if CStyle.
1108 if (CStyle) {
1139 bool CStyle, const SourceRange &OpRange,
1169 Self.Context.getCanonicalType(DestPointee), CStyle,
1177 bool CStyle, const SourceRange &OpRange,
1202 CStyle, OpRange, SrcType, DestType, msg, Kind,
1211 bool CStyle, const SourceRange &OpRange, QualType OrigSrcType,
1249 if (!CStyle && !DestType.isAtLeastAsQualifiedAs(SrcType)) {
1296 if (!CStyle) {
1326 QualType DestType, bool CStyle,
1389 if (!CStyle) {
1471 bool CStyle
1473 if (InitSeq.Failed() && (CStyle || !DestType->isReferenceType()))
1494 QualType DestType, bool CStyle,
1558 if (!CStyle)
1567 if (!CStyle)
1677 static void checkIntToPointerCast(bool CStyle, SourceLocation Loc,
1685 if (CStyle && SrcType->isIntegralType(Self.Context)
1704 QualType DestType, bool CStyle,
1739 if (!CStyle) {
1791 if (CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
1792 /*CheckObjCLifetime=*/CStyle)) {
1910 checkIntToPointerCast(CStyle, OpRange.getBegin(), SrcExpr.get(), DestType,
1928 if (CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
1929 /*CheckObjCLifetime=*/CStyle)) {
1955 if (CStyle && DestType->isObjCObjectPointerType()) {
1958 if (CStyle)
2073 /*CStyle*/true, msg);
2091 tcr = TryReinterpretCast(Self, SrcExpr, DestType, /*CStyle*/true,
2314 checkIntToPointerCast(/* CStyle */ true, OpRange.getBegin(), SrcExpr.get(),