Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp854 QualType DestPointee; in CheckDynamicCast() local
858 DestPointee = DestPointer->getPointeeType(); in CheckDynamicCast()
860 DestPointee = DestReference->getPointeeType(); in CheckDynamicCast()
868 const RecordType *DestRecord = DestPointee->getAs<RecordType>(); in CheckDynamicCast()
869 if (DestPointee->isVoidType()) { in CheckDynamicCast()
872 if (Self.RequireCompleteType(OpRange.getBegin(), DestPointee, in CheckDynamicCast()
880 << DestPointee.getUnqualifiedType() << DestRange; in CheckDynamicCast()
932 assert((DestRecord || DestPointee->isVoidType()) && in CheckDynamicCast()
937 if (!DestPointee.isAtLeastAsQualifiedAs(SrcPointee, Self.getASTContext())) { in CheckDynamicCast()
954 Self.IsDerivedFrom(OpRange.getBegin(), SrcPointee, DestPointee)) { in CheckDynamicCast()
[all …]
H A DSemaChecking.cpp14478 QualType DestPointee = DestPtr->getPointeeType(); in CheckCastAlign() local
14479 if (DestPointee->isIncompleteType()) return; in CheckCastAlign()
14480 CharUnits DestAlign = Context.getTypeAlignInChars(DestPointee); in CheckCastAlign()