Lines Matching refs:getAs

430   while (const auto *PT = T->getAs<ParenType>())
456 template <> const TypedefType *Type::getAs() const {
460 template <> const TemplateSpecializationType *Type::getAs() const {
464 template <> const AttributedType *Type::getAs() const {
490 if (const auto *RT = getAs<RecordType>())
496 if (const auto *RT = getAs<RecordType>())
502 if (const auto *RT = getAs<RecordType>())
508 if (const auto *RT = getAs<RecordType>())
514 if (const auto *RT = getAs<RecordType>()) {
522 if (const auto *PT = getAs<PointerType>())
528 if (const auto *RT = getAs<RecordType>())
545 if (const auto *ET = getAs<EnumType>())
551 if (const auto *Complex = getAs<ComplexType>())
558 if (const auto *PT = getAs<PointerType>())
560 if (const auto *OPT = getAs<ObjCObjectPointerType>())
562 if (const auto *BPT = getAs<BlockPointerType>())
564 if (const auto *RT = getAs<ReferenceType>())
566 if (const auto *MPT = getAs<MemberPointerType>())
568 if (const auto *DT = getAs<DecayedType>())
616 const auto *OPT = getAs<ObjCObjectPointerType>();
634 ->getAs<ObjCObjectType>();
639 const auto *OPT = getAs<ObjCObjectPointerType>();
704 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
722 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
739 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
759 if (const auto *baseObj = splitBaseType.Ty->getAs<ObjCObjectType>())
1369 newEquivType->getAs<ObjCObjectPointerType>();
1372 : newEquivType->getAs<ObjCObjectType>();
1439 if (const auto AT = getTypePtr()->getAs<AtomicType>())
1483 if (const auto *objectPointerType = getAs<ObjCObjectPointerType>()) {
1485 } else if (getAs<BlockPointerType>()) {
1490 objectType = getAs<ObjCObjectType>();
1629 if (const auto *T = getAs<ObjCObjectType>())
1642 if (const auto *OPT = getAs<ObjCObjectPointerType>()) {
1652 if (const auto *OPT = getAs<ObjCObjectPointerType>()) {
1660 if (const auto *OT = getAs<ObjCObjectType>()) {
1668 if (const auto *OPT = getAs<ObjCObjectPointerType>()) {
1677 if (const auto *PT = getAs<PointerType>())
1679 else if (const auto *RT = getAs<ReferenceType>())
1684 if (const auto *RT = PointeeType->getAs<RecordType>())
1699 if (const auto *TT = getAs<TagType>())
1701 if (const auto *Injected = getAs<InjectedClassNameType>())
1709 while (const auto *AT = Cur->getAs<AttributedType>()) {
2271 if (const auto *RT = CanonicalType->getAs<RecordType>()) {
2314 if (const auto *RT = CanonicalType->getAs<RecordType>()) {
2347 getTypePtr()->getBaseElementTypeUnsafe()->getAs<RecordType>())
2363 getTypePtr()->getBaseElementTypeUnsafe()->getAs<RecordType>())
2419 if (const auto *RT = BaseTy->getAs<RecordType>()) {
2437 if (const auto *AT = BaseTy->getAs<AtomicType>())
2466 if (const auto *RT = BaseTy->getAs<RecordType>()) {
2505 if (const auto *RT = BaseTy->getAs<RecordType>()) {
2543 if (const auto *ET = getAs<EnumType>()) {
2552 if (const auto *ET = getAs<EnumType>()) {
2561 if (const auto *BT = getAs<BuiltinType>())
2582 if (const auto *ET = getAs<EnumType>()){
2916 if (const auto *RefType = getTypePtr()->getAs<ReferenceType>())
3084 if (ET->isDependentType() || ET->getAs<PackExpansionType>())
3120 if (!getExceptionType(I)->getAs<PackExpansionType>())
3316 if (const auto *FieldRecTy = FieldTy->getAs<RecordType>()) {
3830 while (const auto *AT = Type->getAs<AttributedType>()) {
3984 const auto *objcPtr = getAs<ObjCObjectPointerType>();
4069 if (const auto *OPT = getAs<PointerType>())
4071 if (const auto *Ref = getAs<ReferenceType>())
4073 if (const auto *MemPtr = getAs<MemberPointerType>())
4095 const auto *Pointer = getAs<PointerType>();
4106 if (const auto *ptr = getAs<PointerType>())
4108 if (const auto *ref = getAs<ReferenceType>())
4135 type->getBaseElementTypeUnsafe()->getAs<RecordType>()) {