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 QualType DestType, bool CStyle,
206 QualType DestType, bool CStyle,
952 bool CStyle in TryStaticCast() local
975 tcr = TryStaticReferenceDowncast(Self, SrcExpr.get(), DestType, CStyle, in TryStaticCast()
983 tcr = TryLValueToRValueCast(Self, SrcExpr.get(), DestType, CStyle, Kind, in TryStaticCast()
1045 tcr = TryStaticPointerDowncast(Self, SrcType, DestType, CStyle, OpRange, msg, in TryStaticCast()
1053 tcr = TryStaticMemberPointerUpcast(Self, SrcExpr, SrcType, DestType, CStyle, in TryStaticCast()
1070 if (!CStyle) { in TryStaticCast()
1089 if (!CStyle && Self.getLangOpts().MSVCCompat && in TryStaticCast()
1102 else if (CStyle && DestType->isBlockPointerType()) { in TryStaticCast()
1117 if (!CStyle && in TryStaticCast()
1136 bool CStyle, CastKind &Kind, CXXCastPath &BasePath, in TryLValueToRValueCast() argument
1156 if (CStyle) { in TryLValueToRValueCast()
1166 if (CStyle) in TryLValueToRValueCast()
1190 bool CStyle, SourceRange OpRange, in TryStaticReferenceDowncast() argument
1220 Self.Context.getCanonicalType(DestPointee), CStyle, in TryStaticReferenceDowncast()
1228 bool CStyle, SourceRange OpRange, in TryStaticPointerDowncast() argument
1253 CStyle, OpRange, SrcType, DestType, msg, Kind, in TryStaticPointerDowncast()
1262 bool CStyle, SourceRange OpRange, QualType OrigSrcType, in TryStaticDowncast() argument
1300 if (!CStyle && !DestType.isAtLeastAsQualifiedAs(SrcType)) { in TryStaticDowncast()
1344 if (!CStyle) { in TryStaticDowncast()
1374 QualType DestType, bool CStyle, in TryStaticMemberPointerUpcast() argument
1443 if (!CStyle) { in TryStaticMemberPointerUpcast()
1521 bool CStyle in TryStaticImplicitCast() local
1523 if (InitSeq.Failed() && (CStyle || !DestType->isReferenceType())) in TryStaticImplicitCast()
1544 QualType DestType, bool CStyle, in TryConstCast() argument
1608 if (!CStyle) in TryConstCast()
1617 if (!CStyle) in TryConstCast()
1818 static void checkIntToPointerCast(bool CStyle, SourceLocation Loc, in checkIntToPointerCast() argument
1826 if (CStyle && SrcType->isIntegralType(Self.Context) in checkIntToPointerCast()
1871 QualType DestType, bool CStyle, in TryReinterpretCast() argument
1900 if (!CStyle) { in TryReinterpretCast()
1952 if (CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle, in TryReinterpretCast()
1953 /*CheckObjCLifetime=*/CStyle)) { in TryReinterpretCast()
2072 checkIntToPointerCast(CStyle, OpRange.getBegin(), SrcExpr.get(), DestType, in TryReinterpretCast()
2090 if (CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle, in TryReinterpretCast()
2091 /*CheckObjCLifetime=*/CStyle)) { in TryReinterpretCast()
2117 if (CStyle && DestType->isObjCObjectPointerType()) { in TryReinterpretCast()
2120 if (CStyle) in TryReinterpretCast()