Lines Matching refs:getAs
30 if (const PointerType *PtrTy = T->getAs<PointerType>()) in GetUnderlyingFunction()
32 else if (const ReferenceType *RefTy = T->getAs<ReferenceType>()) in GetUnderlyingFunction()
34 else if (const MemberPointerType *MPTy = T->getAs<MemberPointerType>()) in GetUnderlyingFunction()
36 return T->getAs<FunctionProtoType>(); in GetUnderlyingFunction()
135 if (const PointerType *PT = T->getAs<PointerType>()) { in CheckSpecifiedExceptionType()
143 } else if (const ReferenceType *RT = T->getAs<ReferenceType>()) { in CheckSpecifiedExceptionType()
201 if (const PointerType *PT = T->getAs<PointerType>()) in CheckDistantExceptionSpec()
203 else if (const MemberPointerType *PT = T->getAs<MemberPointerType>()) in CheckDistantExceptionSpec()
208 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>(); in CheckDistantExceptionSpec()
329 Old->getType()->getAs<FunctionProtoType>(), Old->getLocation(), in CheckEquivalentExceptionSpec()
330 New->getType()->getAs<FunctionProtoType>(), New->getLocation(), in CheckEquivalentExceptionSpec()
473 if (auto FTLoc = TL.getAs<FunctionProtoTypeLoc>()) in CheckEquivalentExceptionSpec()
691 const ReferenceType *RefTy = HandlerType->getAs<ReferenceType>(); in handlerCanCatch()
846 if (const ReferenceType *RefTy = SubI->getAs<ReferenceType>()) in CheckExceptionSpecSubset()
1050 if ((FT = T->getAs<FunctionProtoType>())) { in canCalleeThrow()
1051 } else if (const PointerType *PT = T->getAs<PointerType>()) in canCalleeThrow()
1052 FT = PT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1053 else if (const ReferenceType *RT = T->getAs<ReferenceType>()) in canCalleeThrow()
1054 FT = RT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1055 else if (const MemberPointerType *MT = T->getAs<MemberPointerType>()) in canCalleeThrow()
1056 FT = MT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1057 else if (const BlockPointerType *BT = T->getAs<BlockPointerType>()) in canCalleeThrow()
1058 FT = BT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1120 const RecordType *RT = Op->getType()->getAs<RecordType>(); in canTypeidThrow()
1231 if (const RecordType *RT = DTy->getAs<RecordType>()) { in canThrow()