Lines Matching refs:CStyle
206 QualType DestType, bool CStyle,
211 QualType DestType, bool CStyle,
217 QualType DestType, bool CStyle,
223 CanQualType DestType, bool CStyle,
231 QualType DestType,bool CStyle,
251 QualType DestType, bool CStyle,
254 QualType DestType, bool CStyle,
258 QualType DestType, bool CStyle,
1265 bool CStyle in TryStaticCast() local
1288 tcr = TryStaticReferenceDowncast(Self, SrcExpr.get(), DestType, CStyle, in TryStaticCast()
1296 tcr = TryLValueToRValueCast(Self, SrcExpr.get(), DestType, CStyle, Kind, in TryStaticCast()
1369 tcr = TryStaticPointerDowncast(Self, SrcType, DestType, CStyle, OpRange, msg, in TryStaticCast()
1377 tcr = TryStaticMemberPointerUpcast(Self, SrcExpr, SrcType, DestType, CStyle, in TryStaticCast()
1394 if (!CStyle) { in TryStaticCast()
1415 if (!CStyle && Self.getLangOpts().MSVCCompat && in TryStaticCast()
1428 else if (CStyle && DestType->isBlockPointerType()) { in TryStaticCast()
1443 if (!CStyle && in TryStaticCast()
1461 QualType DestType, bool CStyle, in TryLValueToRValueCast() argument
1479 if (CStyle) { in TryLValueToRValueCast()
1488 if (CStyle || RefResult == Sema::Ref_Incompatible) in TryLValueToRValueCast()
1516 bool CStyle, SourceRange OpRange, in TryStaticReferenceDowncast() argument
1546 Self.Context.getCanonicalType(DestPointee), CStyle, in TryStaticReferenceDowncast()
1554 bool CStyle, SourceRange OpRange, in TryStaticPointerDowncast() argument
1579 CStyle, OpRange, SrcType, DestType, msg, Kind, in TryStaticPointerDowncast()
1588 bool CStyle, SourceRange OpRange, QualType OrigSrcType, in TryStaticDowncast() argument
1626 if (!CStyle && !DestType.isAtLeastAsQualifiedAs(SrcType)) { in TryStaticDowncast()
1670 if (!CStyle) { in TryStaticDowncast()
1700 QualType DestType, bool CStyle, in TryStaticMemberPointerUpcast() argument
1769 if (!CStyle) { in TryStaticMemberPointerUpcast()
1850 bool CStyle in TryStaticImplicitCast() local
1852 if (InitSeq.Failed() && (CStyle || !DestType->isReferenceType())) in TryStaticImplicitCast()
1873 QualType DestType, bool CStyle, in TryConstCast() argument
1937 if (!CStyle) in TryConstCast()
1946 if (!CStyle) in TryConstCast()
2132 static void checkIntToPointerCast(bool CStyle, const SourceRange &OpRange, in checkIntToPointerCast() argument
2140 if (CStyle && SrcType->isIntegralType(Self.Context) in checkIntToPointerCast()
2186 QualType DestType, bool CStyle, in TryReinterpretCast() argument
2215 if (!CStyle) { in TryReinterpretCast()
2288 CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle, in TryReinterpretCast()
2289 /*CheckObjCLifetime=*/CStyle)) in TryReinterpretCast()
2338 if (Self.LangOpts.OpenCL && !CStyle) { in TryReinterpretCast()
2414 checkIntToPointerCast(CStyle, OpRange, SrcExpr.get(), DestType, Self); in TryReinterpretCast()
2438 CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle, in TryReinterpretCast()
2439 /*CheckObjCLifetime=*/CStyle)) in TryReinterpretCast()
2445 if (!CStyle && in TryReinterpretCast()
2466 if (CStyle && DestType->isObjCObjectPointerType()) { in TryReinterpretCast()
2469 if (CStyle) in TryReinterpretCast()
2517 << CStyle << SrcType << DestType << SrcExpr.get()->getSourceRange(); in TryReinterpretCast()
2533 QualType DestType, bool CStyle, in TryAddressSpaceCast() argument