Home | History | Annotate | Download | only in Sema

Lines Matching refs:getAs

396   if (auto Ptr = From->getAs<PointerType>()) {
401 if (auto Ptr = To->getAs<PointerType>()) {
406 auto RecFrom = From->getAs<RecordType>();
407 auto RecTo = To->getAs<RecordType>();
427 const PointerType *T1PtrType = T1->getAs<PointerType>(),
428 *T2PtrType = T2->getAs<PointerType>();
435 T1->getAs<ObjCObjectPointerType>(),
437 T2->getAs<ObjCObjectPointerType>();
458 const MemberPointerType *T1MPType = T1->getAs<MemberPointerType>(),
459 *T2MPType = T2->getAs<MemberPointerType>();
466 const BlockPointerType *T1BPType = T1->getAs<BlockPointerType>(),
467 *T2BPType = T2->getAs<BlockPointerType>();
588 const PointerType *DestPointer = DestType->getAs<PointerType>();
592 } else if ((DestReference = DestType->getAs<ReferenceType>())) {
601 const RecordType *DestRecord = DestPointee->getAs<RecordType>();
625 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) {
648 const RecordType *SrcRecord = SrcPointee->getAs<RecordType>();
1008 if (const EnumType *Enum = SrcType->getAs<EnumType>()) {
1059 if (const PointerType *SrcPointer = SrcType->getAs<PointerType>()) {
1062 if (const PointerType *DestPointer = DestType->getAs<PointerType>()) {
1112 if (auto SrcPointer = SrcType->getAs<PointerType>())
1113 if (auto DestPointer = DestType->getAs<PointerType>())
1114 if (SrcPointer->getPointeeType()->getAs<RecordType>() &&
1115 DestPointer->getPointeeType()->getAs<RecordType>())
1130 const RValueReferenceType *R = DestType->getAs<RValueReferenceType>();
1188 const ReferenceType *DestReference = DestType->getAs<ReferenceType>();
1225 const PointerType *DestPointer = DestType->getAs<PointerType>();
1230 const PointerType *SrcPointer = SrcType->getAs<PointerType>();
1257 if (!DestType->getAs<RecordType>() || !SrcType->getAs<RecordType>()) {
1367 const MemberPointerType *DestMemPtr = DestType->getAs<MemberPointerType>();
1384 const MemberPointerType *SrcMemPtr = SrcType->getAs<MemberPointerType>();
1537 if (const ReferenceType *DestTypeTmp =DestType->getAs<ReferenceType>()) {
1659 if (!SrcType->getAs<PointerType>() || !DestType->getAs<PointerType>()) {
1665 if (!DestType->getAs<ReferenceType>()) {
1682 if (SrcTy->getAs<TagType>() || DestTy->getAs<TagType>()) {
1702 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>())
1768 if (const ReferenceType *DestTypeTmp = DestType->getAs<ReferenceType>()) {
1813 const MemberPointerType *DestMemPtr = DestType->getAs<MemberPointerType>(),
1814 *SrcMemPtr = SrcType->getAs<MemberPointerType>();
2089 if (const VectorType *vecTy = DestType->getAs<VectorType>())
2240 const PointerType *DestPtr = DestType->getAs<PointerType>();
2241 if (!DestPtr->isAddressSpaceOverlapping(*SrcType->getAs<PointerType>())) {
2258 const RecordType *DestRecordTy = DestType->getAs<RecordType>();
2314 if (const VectorType *DestVecTy = DestType->getAs<VectorType>()) {
2379 if (const PointerType *CastPtr = DestType->getAs<PointerType>()) {
2380 if (const PointerType *ExprPtr = SrcType->getAs<PointerType>()) {