Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCast.cpp588 QualType DestPointee; in CheckDynamicCast() local
592 DestPointee = DestPointer->getPointeeType(); in CheckDynamicCast()
594 DestPointee = DestReference->getPointeeType(); in CheckDynamicCast()
602 const RecordType *DestRecord = DestPointee->getAs<RecordType>(); in CheckDynamicCast()
603 if (DestPointee->isVoidType()) { in CheckDynamicCast()
606 if (Self.RequireCompleteType(OpRange.getBegin(), DestPointee, in CheckDynamicCast()
614 << DestPointee.getUnqualifiedType() << DestRange; in CheckDynamicCast()
666 assert((DestRecord || DestPointee->isVoidType()) && in CheckDynamicCast()
671 if (!DestPointee.isAtLeastAsQualifiedAs(SrcPointee)) { in CheckDynamicCast()
688 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast()
[all …]
DSemaChecking.cpp9501 QualType DestPointee = DestPtr->getPointeeType(); in CheckCastAlign() local
9502 if (DestPointee->isIncompleteType()) return; in CheckCastAlign()
9503 CharUnits DestAlign = Context.getTypeAlignInChars(DestPointee); in CheckCastAlign()
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp762 QualType DestPointee; in CheckDynamicCast() local
766 DestPointee = DestPointer->getPointeeType(); in CheckDynamicCast()
768 DestPointee = DestReference->getPointeeType(); in CheckDynamicCast()
776 const RecordType *DestRecord = DestPointee->getAs<RecordType>(); in CheckDynamicCast()
777 if (DestPointee->isVoidType()) { in CheckDynamicCast()
780 if (Self.RequireCompleteType(OpRange.getBegin(), DestPointee, in CheckDynamicCast()
788 << DestPointee.getUnqualifiedType() << DestRange; in CheckDynamicCast()
840 assert((DestRecord || DestPointee->isVoidType()) && in CheckDynamicCast()
845 if (!DestPointee.isAtLeastAsQualifiedAs(SrcPointee)) { in CheckDynamicCast()
862 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast()
[all …]
DSemaChecking.cpp14174 QualType DestPointee = DestPtr->getPointeeType(); in CheckCastAlign() local
14175 if (DestPointee->isIncompleteType()) return; in CheckCastAlign()
14176 CharUnits DestAlign = Context.getTypeAlignInChars(DestPointee); in CheckCastAlign()