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()
134 if (const PointerType *PT = T->getAs<PointerType>()) { in CheckSpecifiedExceptionType()
142 } else if (const ReferenceType *RT = T->getAs<ReferenceType>()) { in CheckSpecifiedExceptionType()
194 if (const PointerType *PT = T->getAs<PointerType>()) in CheckDistantExceptionSpec()
196 else if (const MemberPointerType *PT = T->getAs<MemberPointerType>()) in CheckDistantExceptionSpec()
201 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>(); in CheckDistantExceptionSpec()
322 Old->getType()->getAs<FunctionProtoType>(), Old->getLocation(), in CheckEquivalentExceptionSpec()
323 New->getType()->getAs<FunctionProtoType>(), New->getLocation(), in CheckEquivalentExceptionSpec()
466 if (auto FTLoc = TL.getAs<FunctionProtoTypeLoc>()) in CheckEquivalentExceptionSpec()
684 const ReferenceType *RefTy = HandlerType->getAs<ReferenceType>(); in handlerCanCatch()
840 if (const ReferenceType *RefTy = SubI->getAs<ReferenceType>()) in CheckExceptionSpecSubset()
1041 if ((FT = T->getAs<FunctionProtoType>())) { in canCalleeThrow()
1042 } else if (const PointerType *PT = T->getAs<PointerType>()) in canCalleeThrow()
1043 FT = PT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1044 else if (const ReferenceType *RT = T->getAs<ReferenceType>()) in canCalleeThrow()
1045 FT = RT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1046 else if (const MemberPointerType *MT = T->getAs<MemberPointerType>()) in canCalleeThrow()
1047 FT = MT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1048 else if (const BlockPointerType *BT = T->getAs<BlockPointerType>()) in canCalleeThrow()
1049 FT = BT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1111 const RecordType *RT = Op->getType()->getAs<RecordType>(); in canTypeidThrow()
1222 if (const RecordType *RT = DTy->getAs<RecordType>()) { in canThrow()