Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCast.cpp624 QualType SrcPointee; in CheckDynamicCast() local
627 SrcPointee = SrcPointer->getPointeeType(); in CheckDynamicCast()
639 SrcPointee = SrcType; in CheckDynamicCast()
646 SrcPointee = SrcType; in CheckDynamicCast()
649 const RecordType *SrcRecord = SrcPointee->getAs<RecordType>(); in CheckDynamicCast()
651 if (Self.RequireCompleteType(OpRange.getBegin(), SrcPointee, in CheckDynamicCast()
659 << SrcPointee.getUnqualifiedType() << SrcExpr.get()->getSourceRange(); in CheckDynamicCast()
671 if (!DestPointee.isAtLeastAsQualifiedAs(SrcPointee)) { in CheckDynamicCast()
688 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast()
689 if (Self.CheckDerivedToBaseConversion(SrcPointee, DestPointee, in CheckDynamicCast()
[all …]
DSemaChecking.cpp9509 QualType SrcPointee = SrcPtr->getPointeeType(); in CheckCastAlign() local
9515 if (SrcPointee->isIncompleteType()) return; in CheckCastAlign()
9517 CharUnits SrcAlign = Context.getTypeAlignInChars(SrcPointee); in CheckCastAlign()
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp798 QualType SrcPointee; in CheckDynamicCast() local
801 SrcPointee = SrcPointer->getPointeeType(); in CheckDynamicCast()
813 SrcPointee = SrcType; in CheckDynamicCast()
820 SrcPointee = SrcType; in CheckDynamicCast()
823 const RecordType *SrcRecord = SrcPointee->getAs<RecordType>(); in CheckDynamicCast()
825 if (Self.RequireCompleteType(OpRange.getBegin(), SrcPointee, in CheckDynamicCast()
833 << SrcPointee.getUnqualifiedType() << SrcExpr.get()->getSourceRange(); in CheckDynamicCast()
845 if (!DestPointee.isAtLeastAsQualifiedAs(SrcPointee)) { in CheckDynamicCast()
862 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast()
863 if (Self.CheckDerivedToBaseConversion(SrcPointee, DestPointee, in CheckDynamicCast()
[all …]
DSemaChecking.cpp14182 QualType SrcPointee = SrcPtr->getPointeeType(); in CheckCastAlign() local
14188 if (SrcPointee->isIncompleteType()) return; in CheckCastAlign()