Lines Matching refs: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,
675 if (TryConstCast(Self, SrcExpr.get(), DestType, /*CStyle*/false, msg) != TC_Success
697 /*CStyle*/false, OpRange, msg, Kind);
783 /// possible. If @p CStyle, ignore access restrictions on hierarchy casting
792 bool CStyle
815 tcr = TryStaticReferenceDowncast(Self, SrcExpr.get(), DestType, CStyle,
823 tcr = TryLValueToRValueCast(Self, SrcExpr.get(), DestType, CStyle, Kind,
842 // In the CStyle case, the earlier attempt to const_cast should have taken
885 tcr = TryStaticPointerDowncast(Self, SrcType, DestType, CStyle, OpRange, msg,
893 tcr = TryStaticMemberPointerUpcast(Self, SrcExpr, SrcType, DestType, CStyle,
910 if (!CStyle) {
933 else if (CStyle && DestType->isBlockPointerType()) {
954 bool CStyle, CastKind &Kind, CXXCastPath &BasePath,
968 // FIXME: Should allow casting away constness if CStyle.
974 if (CStyle) {
1005 bool CStyle, const SourceRange &OpRange,
1032 Self.Context.getCanonicalType(DestPointee), CStyle,
1040 bool CStyle, const SourceRange &OpRange,
1065 CStyle, OpRange, SrcType, DestType, msg, Kind,
1074 bool CStyle, const SourceRange &OpRange, QualType OrigSrcType,
1112 if (!CStyle && !DestType.isAtLeastAsQualifiedAs(SrcType)) {
1159 if (!CStyle) {
1189 QualType DestType, bool CStyle,
1251 if (!CStyle) {
1327 bool CStyle
1329 if (InitSeq.Failed() && (CStyle || !DestType->isReferenceType()))
1351 bool CStyle, unsigned &msg) {
1380 if (!CStyle)
1389 if (!CStyle)
1479 QualType DestType, bool CStyle,
1515 if (!CStyle) {
1567 if (CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
1568 /*CheckObjCLifetime=*/CStyle)) {
1693 if (CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
1694 /*CheckObjCLifetime=*/CStyle)) {
1720 if (CStyle && DestType->isObjCObjectPointerType()) {
1838 /*CStyle*/true, msg);
1854 tcr = TryReinterpretCast(Self, SrcExpr, DestType, /*CStyle*/true,