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()
129 if (const PointerType *PT = T->getAs<PointerType>()) { in CheckSpecifiedExceptionType()
137 } else if (const ReferenceType *RT = T->getAs<ReferenceType>()) { in CheckSpecifiedExceptionType()
192 if (const PointerType *PT = T->getAs<PointerType>()) in CheckDistantExceptionSpec()
194 else if (const MemberPointerType *PT = T->getAs<MemberPointerType>()) in CheckDistantExceptionSpec()
199 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>(); in CheckDistantExceptionSpec()
321 Old->getType()->getAs<FunctionProtoType>(), Old->getLocation(), in CheckEquivalentExceptionSpec()
322 New->getType()->getAs<FunctionProtoType>(), New->getLocation(), in CheckEquivalentExceptionSpec()
465 if (auto FTLoc = TL.getAs<FunctionProtoTypeLoc>()) in CheckEquivalentExceptionSpec()
679 const ReferenceType *RefTy = HandlerType->getAs<ReferenceType>(); in handlerCanCatch()
831 if (const ReferenceType *RefTy = SubI->getAs<ReferenceType>()) in CheckExceptionSpecSubset()
1030 if ((FT = T->getAs<FunctionProtoType>())) { in canCalleeThrow()
1031 } else if (const PointerType *PT = T->getAs<PointerType>()) in canCalleeThrow()
1032 FT = PT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1033 else if (const ReferenceType *RT = T->getAs<ReferenceType>()) in canCalleeThrow()
1034 FT = RT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1035 else if (const MemberPointerType *MT = T->getAs<MemberPointerType>()) in canCalleeThrow()
1036 FT = MT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1037 else if (const BlockPointerType *BT = T->getAs<BlockPointerType>()) in canCalleeThrow()
1038 FT = BT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
1210 if (const RecordType *RT = DTy->getAs<RecordType>()) { in canThrow()