Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExceptionSpec.cpp573 QualType CanonicalSuperT = Context.getCanonicalType(*SuperI); in CheckExceptionSpecSubset() local
576 if (const ReferenceType *RefTy = CanonicalSuperT->getAs<ReferenceType>()) in CheckExceptionSpecSubset()
577 CanonicalSuperT = RefTy->getPointeeType(); in CheckExceptionSpecSubset()
579 if (const PointerType *PtrTy = CanonicalSuperT->getAs<PointerType>()) in CheckExceptionSpecSubset()
580 CanonicalSuperT = PtrTy->getPointeeType(); in CheckExceptionSpecSubset()
585 CanonicalSuperT = CanonicalSuperT.getLocalUnqualifiedType(); in CheckExceptionSpecSubset()
587 if (CanonicalSubT == CanonicalSuperT) { in CheckExceptionSpecSubset()
593 if (!SubIsClass || !CanonicalSuperT->isRecordType()) in CheckExceptionSpecSubset()
597 if (!IsDerivedFrom(CanonicalSubT, CanonicalSuperT, Paths)) in CheckExceptionSpecSubset()
600 if (Paths.isAmbiguous(Context.getCanonicalType(CanonicalSuperT))) in CheckExceptionSpecSubset()
[all …]