Home
last modified time | relevance | path

Searched refs:SrcPointee (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaCast.cpp623 QualType SrcPointee; in CheckDynamicCast() local
626 SrcPointee = SrcPointer->getPointeeType(); in CheckDynamicCast()
638 SrcPointee = SrcType; in CheckDynamicCast()
645 SrcPointee = SrcType; in CheckDynamicCast()
648 const RecordType *SrcRecord = SrcPointee->getAs<RecordType>(); in CheckDynamicCast()
650 if (Self.RequireCompleteType(OpRange.getBegin(), SrcPointee, in CheckDynamicCast()
658 << SrcPointee.getUnqualifiedType() << SrcExpr.get()->getSourceRange(); in CheckDynamicCast()
670 if (!DestPointee.isAtLeastAsQualifiedAs(SrcPointee)) { in CheckDynamicCast()
687 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast()
688 if (Self.CheckDerivedToBaseConversion(SrcPointee, DestPointee, in CheckDynamicCast()
[all …]
DSemaChecking.cpp8478 QualType SrcPointee = SrcPtr->getPointeeType(); in CheckCastAlign() local
8484 if (SrcPointee->isIncompleteType()) return; in CheckCastAlign()
8486 CharUnits SrcAlign = Context.getTypeAlignInChars(SrcPointee); in CheckCastAlign()