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

References

tools/clang/lib/Sema/SemaCast.cpp
 2028   if (SrcType == Self.Context.OverloadTy) {
 2035     SrcType = SrcExpr.get()->getType();
 2047       Self.CheckCompatibleReinterpretCast(SrcType, DestType,
 2078     SrcType = Self.Context.getPointerType(SrcType);
 2078     SrcType = Self.Context.getPointerType(SrcType);
 2084   SrcType = Self.Context.getCanonicalType(SrcType);
 2084   SrcType = Self.Context.getCanonicalType(SrcType);
 2087                           *SrcMemPtr = SrcType->getAs<MemberPointerType>();
 2100       (void)Self.isCompleteType(OpRange.getBegin(), SrcType);
 2116             CastsAwayConstness(Self, SrcType, DestType, /*CheckCVR=*/!CStyle,
 2127   if (SrcType->isNullPtrType() && DestType->isIntegralType(Self.Context)) {
 2132     if (Self.Context.getTypeSize(SrcType) >
 2144   bool srcIsVector = SrcType->isVectorType();
 2150         (!srcIsVector && !SrcType->isIntegralType(Self.Context)))
 2155     if (Self.areLaxCompatibleVectorTypes(SrcType, DestType)) {
 2171   if (SrcType == DestType) {
 2182     if (SrcType->isIntegralOrEnumerationType() ||
 2183         SrcType->isAnyPointerType() ||
 2184         SrcType->isMemberPointerType() ||
 2185         SrcType->isBlockPointerType()) {
 2193   bool srcIsPtr = SrcType->isAnyPointerType() ||
 2194                   SrcType->isBlockPointerType();
 2208     if ((Self.Context.getTypeSize(SrcType) >
 2218   if (SrcType->isIntegralOrEnumerationType()) {
 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());
 2254             SrcType->getPointeeType().getQualifiers())) {
 2262     if (!SrcType->isBlockPointerType()) {
 2284   if (SrcType->isFunctionPointerType()) {