Lines Matching refs:getAs
846 return getSimplifiedTypeClass(T->getAs<ReferenceType>()->getPointeeType());
908 if (const auto *Ref = T->getAs<ReferenceType>()) {
913 if (const auto *Pointer = T->getAs<PointerType>()) {
922 if (const auto *Block = T->getAs<BlockPointerType>()) {
927 if (const auto *Function = T->getAs<FunctionType>()) {
2725 if (TypedefTypeLoc TypedefTL = TL.getAs<TypedefTypeLoc>()) {
2734 if (QualifiedTypeLoc QualifiedTL = TL.getAs<QualifiedTypeLoc>()) {
2739 if (AttributedTypeLoc AttrTL = TL.getAs<AttributedTypeLoc>()) {
2747 if (BlockPointerTypeLoc BlockPtr = TL.getAs<BlockPointerTypeLoc>()) {
2749 Block = TL.getAs<FunctionTypeLoc>();
2750 BlockProto = TL.getAs<FunctionProtoTypeLoc>();
2987 if (const auto *Proto = Function->getType()->getAs<FunctionProtoType>())
3102 const auto *Proto = Function->getType()->getAs<FunctionProtoType>();
3201 if (const auto *RecordTy = Ty->getAs<RecordType>())
3203 else if (const auto *InjectedTy = Ty->getAs<InjectedClassNameType>())
4327 if (auto *Specialization = T->getAs<TemplateSpecializationType>()) {
4333 return Argument.getAsType()->getAs<FunctionProtoType>();
4338 return T->getAs<FunctionProtoType>();
4761 if (const auto *TST = BaseType->getAs<TemplateSpecializationType>()) {
5150 if (const auto *Ptr = ConvertedBaseType->getAs<PointerType>())
5187 if (const PointerType *Ptr = BaseType->getAs<PointerType>()) {
5249 BaseType->getAs<ObjCObjectPointerType>())
5605 !FD->getType()->getAs<FunctionProtoType>())
5637 if (auto FP = T->getAs<FunctionProtoType>()) {
5642 } else if (auto FT = T->getAs<FunctionType>())
7004 Msg->getClassReceiver()->getAs<ObjCObjectType>())
7010 if (const ObjCObjectPointerType *Ptr = T->getAs<ObjCObjectPointerType>())
7236 Context.getTypeDeclType(TD)->getAs<ObjCObjectType>())
7311 if (const ObjCObjectType *Interface = T->getAs<ObjCObjectType>())
8222 Property->getType()->getAs<ObjCObjectPointerType>()) {
8516 ReturnType->getAs<ObjCObjectPointerType>()->getInterfaceDecl() &&
8517 ReturnType->getAs<ObjCObjectPointerType>()