reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaCast.cpp
 2023   DestType = Self.Context.getCanonicalType(DestType);
 2028   if (SrcType == Self.Context.OverloadTy) {
 2030     if (!fixOverloadedReinterpretCastExpr(Self, DestType, FixedExpr))
 2047       Self.CheckCompatibleReinterpretCast(SrcType, DestType,
 2069       Self.Diag(OpRange.getBegin(), diag::err_bad_reinterpret_cast_reference)
 2077     DestType = Self.Context.getPointerType(DestTypeTmp->getPointeeType());
 2078     SrcType = Self.Context.getPointerType(SrcType);
 2084   SrcType = Self.Context.getCanonicalType(SrcType);
 2097     if (Self.Context.getTargetInfo().getCXXABI().isMicrosoft()) {
 2100       (void)Self.isCompleteType(OpRange.getBegin(), SrcType);
 2101       (void)Self.isCompleteType(OpRange.getBegin(), DestType);
 2105     if (Self.Context.getTypeSize(DestMemPtr) !=
 2106         Self.Context.getTypeSize(SrcMemPtr)) {
 2116             CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
 2127   if (SrcType->isNullPtrType() && DestType->isIntegralType(Self.Context)) {
 2132     if (Self.Context.getTypeSize(SrcType) >
 2133         Self.Context.getTypeSize(DestType)) {
 2149     if ((!destIsVector && !DestType->isIntegralType(Self.Context)) ||
 2150         (!srcIsVector && !SrcType->isIntegralType(Self.Context)))
 2155     if (Self.areLaxCompatibleVectorTypes(SrcType, DestType)) {
 2201   if (DestType->isIntegralType(Self.Context)) {
 2206     bool MicrosoftException = Self.getLangOpts().MicrosoftExt &&
 2208     if ((Self.Context.getTypeSize(SrcType) >
 2209          Self.Context.getTypeSize(DestType)) &&
 2221                           Self);
 2245           CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
 2260     Kind = Self.PrepareCastToObjCObjectPointer(SrcExpr);
 2277     DiagnoseCastOfObjCSEL(Self, SrcExpr, DestType);
 2279   DiagnoseCallingConvCast(Self, SrcExpr, DestType, OpRange);
 2297     Self.Diag(OpRange.getBegin(),
 2298               Self.getLangOpts().CPlusPlus11 ?
 2306     Self.Diag(OpRange.getBegin(),
 2307               Self.getLangOpts().CPlusPlus11 ?