Home | History | Annotate | Download | only in Sema

Lines Matching defs:CStyle

158                                            QualType DestType, bool CStyle,
163 QualType DestType, bool CStyle,
169 QualType DestType, bool CStyle,
175 CanQualType DestType, bool CStyle,
183 QualType DestType,bool CStyle,
203 bool CStyle, unsigned &msg);
205 QualType DestType, bool CStyle,
679 if (TryConstCast(Self, SrcExpr.get(), DestType, /*CStyle*/false, msg) != TC_Success
701 /*CStyle*/false, OpRange, msg, Kind);
787 /// possible. If @p CStyle, ignore access restrictions on hierarchy casting
796 bool CStyle
819 tcr = TryStaticReferenceDowncast(Self, SrcExpr.get(), DestType, CStyle,
827 CStyle, Kind,
846 // In the CStyle case, the earlier attempt to const_cast should have taken
889 tcr = TryStaticPointerDowncast(Self, SrcType, DestType, CStyle, OpRange, msg,
897 tcr = TryStaticMemberPointerUpcast(Self, SrcExpr, SrcType, DestType, CStyle,
914 if (!CStyle) {
937 else if (CStyle && DestType->isBlockPointerType()) {
958 bool CStyle, CastKind &Kind, CXXCastPath &BasePath,
972 // FIXME: Should allow casting away constness if CStyle.
978 if (CStyle) {
1009 bool CStyle, const SourceRange &OpRange,
1036 Self.Context.getCanonicalType(DestPointee), CStyle,
1044 bool CStyle, const SourceRange &OpRange,
1069 CStyle, OpRange, SrcType, DestType, msg, Kind,
1078 bool CStyle, const SourceRange &OpRange, QualType OrigSrcType,
1116 if (!CStyle && !DestType.isAtLeastAsQualifiedAs(SrcType)) {
1163 if (!CStyle) {
1193 QualType DestType, bool CStyle,
1255 if (!CStyle) {
1333 bool CStyle
1335 if (InitSeq.Failed() && (CStyle || !DestType->isReferenceType()))
1356 bool CStyle, unsigned &msg) {
1385 if (!CStyle)
1394 if (!CStyle)
1500 static void checkIntToPointerCast(bool CStyle, SourceLocation Loc,
1508 if (CStyle && SrcType->isIntegralType(Self.Context)
1517 QualType DestType, bool CStyle,
1552 if (!CStyle) {
1604 if (CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
1605 /*CheckObjCLifetime=*/CStyle)) {
1714 checkIntToPointerCast(CStyle, OpRange.getBegin(), SrcExpr.get(), DestType,
1732 if (CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
1733 /*CheckObjCLifetime=*/CStyle)) {
1759 if (CStyle && DestType->isObjCObjectPointerType()) {
1762 if (CStyle)
1879 /*CStyle*/true, msg);
1895 tcr = TryReinterpretCast(Self, SrcExpr, DestType, /*CStyle*/true,
2098 checkIntToPointerCast(/* CStyle */ true, OpRange.getBegin(), SrcExpr.get(),