Lines Matching refs:castAs
165 PointeeT->castAs<RecordType>()->isBeingDefined()) && in CheckSpecifiedExceptionType()
218 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec()
231 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec()
253 FD->getType()->castAs<FunctionProtoType>()->getExceptionSpecType(); in exceptionSpecNotKnownYet()
286 auto *Ty = Decl->getTypeSourceInfo()->getType()->castAs<FunctionProtoType>(); in hasImplicitExceptionSpec()
344 const auto *NewProto = New->getType()->castAs<FunctionProtoType>(); in CheckEquivalentExceptionSpec()
365 const auto *OldProto = Old->getType()->castAs<FunctionProtoType>(); in CheckEquivalentExceptionSpec()
953 if (New->getType()->castAs<FunctionProtoType>()->getExceptionSpecType() == in CheckOverridingFunctionExceptionSpec()
978 Old->getType()->castAs<FunctionProtoType>(), in CheckOverridingFunctionExceptionSpec()
980 New->getType()->castAs<FunctionProtoType>(), in CheckOverridingFunctionExceptionSpec()
1018 ->castAs<MemberPointerType>()->getPointeeType(); in canCalleeThrow()