Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExceptionSpec.cpp698 QualType CanonicalSuperT = Context.getCanonicalType(SuperI); in CheckExceptionSpecSubset() local
701 if (const ReferenceType *RefTy = CanonicalSuperT->getAs<ReferenceType>()) in CheckExceptionSpecSubset()
702 CanonicalSuperT = RefTy->getPointeeType(); in CheckExceptionSpecSubset()
704 if (const PointerType *PtrTy = CanonicalSuperT->getAs<PointerType>()) in CheckExceptionSpecSubset()
705 CanonicalSuperT = PtrTy->getPointeeType(); in CheckExceptionSpecSubset()
710 CanonicalSuperT = CanonicalSuperT.getLocalUnqualifiedType(); in CheckExceptionSpecSubset()
712 if (CanonicalSubT == CanonicalSuperT) { in CheckExceptionSpecSubset()
718 if (!SubIsClass || !CanonicalSuperT->isRecordType()) in CheckExceptionSpecSubset()
722 if (!IsDerivedFrom(SubLoc, CanonicalSubT, CanonicalSuperT, Paths)) in CheckExceptionSpecSubset()
725 if (Paths.isAmbiguous(Context.getCanonicalType(CanonicalSuperT))) in CheckExceptionSpecSubset()
[all …]