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);
 2023   DestType = Self.Context.getCanonicalType(DestType);
 2030     if (!fixOverloadedReinterpretCastExpr(Self, DestType, FixedExpr))
 2038   if (const ReferenceType *DestTypeTmp = DestType->getAs<ReferenceType>()) {
 2047       Self.CheckCompatibleReinterpretCast(SrcType, DestType,
 2070           << inappropriate << DestType
 2077     DestType = Self.Context.getPointerType(DestTypeTmp->getPointeeType());
 2086   const MemberPointerType *DestMemPtr = DestType->getAs<MemberPointerType>(),
 2101       (void)Self.isCompleteType(OpRange.getBegin(), DestType);
 2116             CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
 2127   if (SrcType->isNullPtrType() && DestType->isIntegralType(Self.Context)) {
 2133         Self.Context.getTypeSize(DestType)) {
 2143   bool destIsVector = DestType->isVectorType();
 2149     if ((!destIsVector && !DestType->isIntegralType(Self.Context)) ||
 2155     if (Self.areLaxCompatibleVectorTypes(SrcType, DestType)) {
 2171   if (SrcType == DestType) {
 2191   bool destIsPtr = DestType->isAnyPointerType() ||
 2192                    DestType->isBlockPointerType();
 2201   if (DestType->isIntegralType(Self.Context)) {
 2207                               !DestType->isBooleanType();
 2209          Self.Context.getTypeSize(DestType)) &&
 2220     checkIntToPointerCast(CStyle, OpRange.getBegin(), SrcExpr.get(), DestType,
 2237   if ((SrcType->isBlockPointerType() && DestType->isObjCObjectPointerType()) ||
 2238       (DestType->isBlockPointerType() && SrcType->isObjCObjectPointerType()))
 2245           CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
 2249   if (IsAddressSpaceConversion(SrcType, DestType)) {
 2251     assert(SrcType->isPointerType() && DestType->isPointerType());
 2253         !DestType->getPointeeType().getQualifiers().isAddressSpaceSupersetOf(
 2259   } else if (DestType->isObjCObjectPointerType()) {
 2261   } else if (DestType->isBlockPointerType()) {
 2273   if (CStyle && DestType->isObjCObjectPointerType()) {
 2277     DiagnoseCastOfObjCSEL(Self, SrcExpr, DestType);
 2279   DiagnoseCallingConvCast(Self, SrcExpr, DestType, OpRange);
 2285     if (DestType->isFunctionPointerType()) {
 2304   if (DestType->isFunctionPointerType()) {