• 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()
85 if (const PointerType *PT = T->getAs<PointerType>()) { in CheckSpecifiedExceptionType()
93 } else if (const ReferenceType *RT = T->getAs<ReferenceType>()) { in CheckSpecifiedExceptionType()
121 PointeeT->getAs<RecordType>()->isBeingDefined()) && in CheckSpecifiedExceptionType()
132 if (const PointerType *PT = T->getAs<PointerType>()) in CheckDistantExceptionSpec()
134 else if (const MemberPointerType *PT = T->getAs<MemberPointerType>()) in CheckDistantExceptionSpec()
139 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>(); in CheckDistantExceptionSpec()
208 Decl->getTypeSourceInfo()->getType()->getAs<FunctionProtoType>(); in hasImplicitExceptionSpec()
229 Old->getType()->getAs<FunctionProtoType>(), Old->getLocation(), in CheckEquivalentExceptionSpec()
230 New->getType()->getAs<FunctionProtoType>(), New->getLocation(), in CheckEquivalentExceptionSpec()
352 if (auto FTLoc = TL.getAs<FunctionProtoTypeLoc>()) in CheckEquivalentExceptionSpec()
683 if (const ReferenceType *RefTy = CanonicalSubT->getAs<ReferenceType>()) in CheckExceptionSpecSubset()
685 if (const PointerType *PtrTy = CanonicalSubT->getAs<PointerType>()) { in CheckExceptionSpecSubset()
701 if (const ReferenceType *RefTy = CanonicalSuperT->getAs<ReferenceType>()) in CheckExceptionSpecSubset()
704 if (const PointerType *PtrTy = CanonicalSuperT->getAs<PointerType>()) in CheckExceptionSpecSubset()
865 Old->getType()->getAs<FunctionProtoType>(), in CheckOverridingFunctionExceptionSpec()
867 New->getType()->getAs<FunctionProtoType>(), in CheckOverridingFunctionExceptionSpec()
896 if ((FT = T->getAs<FunctionProtoType>())) { in canCalleeThrow()
897 } else if (const PointerType *PT = T->getAs<PointerType>()) in canCalleeThrow()
898 FT = PT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
899 else if (const ReferenceType *RT = T->getAs<ReferenceType>()) in canCalleeThrow()
900 FT = RT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
901 else if (const MemberPointerType *MT = T->getAs<MemberPointerType>()) in canCalleeThrow()
902 FT = MT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
903 else if (const BlockPointerType *BT = T->getAs<BlockPointerType>()) in canCalleeThrow()
904 FT = BT->getPointeeType()->getAs<FunctionProtoType>(); in canCalleeThrow()
937 const RecordType *RT = Op->getType()->getAs<RecordType>(); in canTypeidThrow()
1038 if (const RecordType *RT = DTy->getAs<RecordType>()) { in canThrow()