Lines Matching refs:getAs

459   if (auto Ptr = From->getAs<PointerType>()) {
464 if (auto Ptr = To->getAs<PointerType>()) {
469 auto RecFrom = From->getAs<RecordType>();
470 auto RecTo = To->getAs<RecordType>();
725 const PointerType *DestPointer = DestType->getAs<PointerType>();
729 } else if ((DestReference = DestType->getAs<ReferenceType>())) {
738 const RecordType *DestRecord = DestPointee->getAs<RecordType>();
762 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) {
785 const RecordType *SrcRecord = SrcPointee->getAs<RecordType>();
1083 auto *SrcPtrType = SrcType->getAs<PointerType>();
1086 auto *DestPtrType = DestType->getAs<PointerType>();
1161 if (const EnumType *Enum = SrcType->getAs<EnumType>()) {
1217 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) {
1220 if (const PointerType *DestPointer = DestType->getAs<PointerType>()) {
1281 if (auto SrcPointer = SrcType->getAs<PointerType>())
1282 if (auto DestPointer = DestType->getAs<PointerType>())
1283 if (SrcPointer->getPointeeType()->getAs<RecordType>() &&
1284 DestPointer->getPointeeType()->getAs<RecordType>())
1299 const RValueReferenceType *R = DestType->getAs<RValueReferenceType>();
1360 const ReferenceType *DestReference = DestType->getAs<ReferenceType>();
1397 const PointerType *DestPointer = DestType->getAs<PointerType>();
1402 const PointerType *SrcPointer = SrcType->getAs<PointerType>();
1429 if (!DestType->getAs<RecordType>() || !SrcType->getAs<RecordType>()) {
1536 const MemberPointerType *DestMemPtr = DestType->getAs<MemberPointerType>();
1553 const MemberPointerType *SrcMemPtr = SrcType->getAs<MemberPointerType>();
1711 if (const ReferenceType *DestTypeTmp =DestType->getAs<ReferenceType>()) {
1819 if (!SrcType->getAs<PointerType>() || !DestType->getAs<PointerType>()) {
1825 if (!DestType->getAs<ReferenceType>()) {
1842 if (SrcTy->getAs<TagType>() || DestTy->getAs<TagType>()) {
1862 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>())
2039 if (const ReferenceType *DestTypeTmp = DestType->getAs<ReferenceType>()) {
2087 const MemberPointerType *DestMemPtr = DestType->getAs<MemberPointerType>(),
2088 *SrcMemPtr = SrcType->getAs<MemberPointerType>();
2351 auto SrcPtrType = SrcType->getAs<PointerType>();
2354 auto DestPtrType = DestType->getAs<PointerType>();
2471 if (const VectorType *vecTy = DestType->getAs<VectorType>())
2651 const RecordType *DestRecordTy = DestType->getAs<RecordType>();
2717 if (const VectorType *DestVecTy = DestType->getAs<VectorType>()) {
2784 const PointerType *CastPtr = DestType->getAs<PointerType>();
2786 if (const PointerType *ExprPtr = SrcType->getAs<PointerType>()) {