• Home
  • Raw
  • Download

Lines Matching refs:getAs

29   if (const PointerType *PtrTy = T->getAs<PointerType>())  in GetUnderlyingFunction()
31 else if (const ReferenceType *RefTy = T->getAs<ReferenceType>()) in GetUnderlyingFunction()
33 else if (const MemberPointerType *MPTy = T->getAs<MemberPointerType>()) in GetUnderlyingFunction()
35 return T->getAs<FunctionProtoType>(); in GetUnderlyingFunction()
58 if (const PointerType *PT = T->getAs<PointerType>()) { in CheckSpecifiedExceptionType()
66 } else if (const ReferenceType *RT = T->getAs<ReferenceType>()) { in CheckSpecifiedExceptionType()
87 PointeeT->getAs<RecordType>()->isBeingDefined()) && in CheckSpecifiedExceptionType()
99 if (const PointerType *PT = T->getAs<PointerType>()) in CheckDistantExceptionSpec()
101 else if (const MemberPointerType *PT = T->getAs<MemberPointerType>()) in CheckDistantExceptionSpec()
106 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>(); in CheckDistantExceptionSpec()
149 Decl->getTypeSourceInfo()->getType()->getAs<FunctionProtoType>(); in hasImplicitExceptionSpec()
166 Old->getType()->getAs<FunctionProtoType>(), Old->getLocation(), in CheckEquivalentExceptionSpec()
167 New->getType()->getAs<FunctionProtoType>(), New->getLocation(), in CheckEquivalentExceptionSpec()
190 New->getType()->getAs<FunctionProtoType>(); in CheckEquivalentExceptionSpec()
217 Old->getType()->getAs<FunctionProtoType>(); in CheckEquivalentExceptionSpec()
299 if (FunctionTypeLoc FTLoc = TL.getAs<FunctionTypeLoc>()) in CheckEquivalentExceptionSpec()
642 if (const ReferenceType *RefTy = CanonicalSubT->getAs<ReferenceType>()) in CheckExceptionSpecSubset()
644 if (const PointerType *PtrTy = CanonicalSubT->getAs<PointerType>()) { in CheckExceptionSpecSubset()
662 if (const ReferenceType *RefTy = CanonicalSuperT->getAs<ReferenceType>()) in CheckExceptionSpecSubset()
665 if (const PointerType *PtrTy = CanonicalSuperT->getAs<PointerType>()) in CheckExceptionSpecSubset()
808 Old->getType()->getAs<FunctionProtoType>(), in CheckOverridingFunctionExceptionSpec()
810 New->getType()->getAs<FunctionProtoType>(), in CheckOverridingFunctionExceptionSpec()
840 if ((FT = T->getAs<FunctionProtoType>())) { in canCalleeThrow()
841 } else if (const PointerType *PT = T->getAs<PointerType>()) in canCalleeThrow()
842 FT = PT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
843 else if (const ReferenceType *RT = T->getAs<ReferenceType>()) in canCalleeThrow()
844 FT = RT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
845 else if (const MemberPointerType *MT = T->getAs<MemberPointerType>()) in canCalleeThrow()
846 FT = MT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
847 else if (const BlockPointerType *BT = T->getAs<BlockPointerType>()) in canCalleeThrow()
848 FT = BT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
881 const RecordType *RT = Op->getType()->getAs<RecordType>(); in canTypeidThrow()
975 if (const RecordType *RT = DTy->getAs<RecordType>()) { in canThrow()