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()
130 if (const PointerType *PT = T->getAs<PointerType>()) { in CheckSpecifiedExceptionType()
138 } else if (const ReferenceType *RT = T->getAs<ReferenceType>()) { in CheckSpecifiedExceptionType()
190 if (const PointerType *PT = T->getAs<PointerType>()) in CheckDistantExceptionSpec()
192 else if (const MemberPointerType *PT = T->getAs<MemberPointerType>()) in CheckDistantExceptionSpec()
197 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>(); in CheckDistantExceptionSpec()
318 Old->getType()->getAs<FunctionProtoType>(), Old->getLocation(), in CheckEquivalentExceptionSpec()
319 New->getType()->getAs<FunctionProtoType>(), New->getLocation(), in CheckEquivalentExceptionSpec()
461 if (auto FTLoc = TL.getAs<FunctionProtoTypeLoc>()) in CheckEquivalentExceptionSpec()
679 const ReferenceType *RefTy = HandlerType->getAs<ReferenceType>(); in handlerCanCatch()
835 if (const ReferenceType *RefTy = SubI->getAs<ReferenceType>()) in CheckExceptionSpecSubset()
1036 if ((FT = T->getAs<FunctionProtoType>())) { in canCalleeThrow()
1037 } else if (const PointerType *PT = T->getAs<PointerType>()) in canCalleeThrow()
1038 FT = PT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1039 else if (const ReferenceType *RT = T->getAs<ReferenceType>()) in canCalleeThrow()
1040 FT = RT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1041 else if (const MemberPointerType *MT = T->getAs<MemberPointerType>()) in canCalleeThrow()
1042 FT = MT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1043 else if (const BlockPointerType *BT = T->getAs<BlockPointerType>()) in canCalleeThrow()
1044 FT = BT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1106 const RecordType *RT = Op->getType()->getAs<RecordType>(); in canTypeidThrow()
1217 if (const RecordType *RT = DTy->getAs<RecordType>()) { in canThrow()