• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/AST/

Lines Matching refs:getAs

500   while (const auto *PT = T->getAs<ParenType>())
526 template <> const TypedefType *Type::getAs() const {
530 template <> const TemplateSpecializationType *Type::getAs() const {
534 template <> const AttributedType *Type::getAs() const {
560 if (const auto *RT = getAs<RecordType>())
566 if (const auto *RT = getAs<RecordType>())
572 if (const auto *RT = getAs<RecordType>())
578 if (const auto *RT = getAs<RecordType>())
584 if (const auto *RT = getAs<RecordType>()) {
592 if (const auto *PT = getAs<PointerType>())
598 if (const auto *RT = getAs<RecordType>())
615 if (const auto *ET = getAs<EnumType>())
621 if (const auto *Complex = getAs<ComplexType>())
628 if (const auto *PT = getAs<PointerType>())
630 if (const auto *OPT = getAs<ObjCObjectPointerType>())
632 if (const auto *BPT = getAs<BlockPointerType>())
634 if (const auto *RT = getAs<ReferenceType>())
636 if (const auto *MPT = getAs<MemberPointerType>())
638 if (const auto *DT = getAs<DecayedType>())
686 const auto *OPT = getAs<ObjCObjectPointerType>();
704 ->getAs<ObjCObjectType>();
709 const auto *OPT = getAs<ObjCObjectPointerType>();
761 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
779 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
796 if (const auto objcObject = getBaseType()->getAs<ObjCObjectType>()) {
816 if (const auto *baseObj = splitBaseType.Ty->getAs<ObjCObjectType>())
1434 newEquivType->getAs<ObjCObjectPointerType>();
1437 : newEquivType->getAs<ObjCObjectType>();
1504 if (const auto AT = getTypePtr()->getAs<AtomicType>())
1548 if (const auto *objectPointerType = getAs<ObjCObjectPointerType>()) {
1550 } else if (getAs<BlockPointerType>()) {
1555 objectType = getAs<ObjCObjectType>();
1694 if (const auto *T = getAs<ObjCObjectType>())
1707 if (const auto *OPT = getAs<ObjCObjectPointerType>()) {
1717 if (const auto *OPT = getAs<ObjCObjectPointerType>()) {
1725 if (const auto *OT = getAs<ObjCObjectType>()) {
1733 if (const auto *OPT = getAs<ObjCObjectPointerType>()) {
1742 if (const auto *PT = getAs<PointerType>())
1744 else if (const auto *RT = getAs<ReferenceType>())
1749 if (const auto *RT = PointeeType->getAs<RecordType>())
1764 if (const auto *TT = getAs<TagType>())
1766 if (const auto *Injected = getAs<InjectedClassNameType>())
1774 while (const auto *AT = Cur->getAs<AttributedType>()) {
2279 if (const BuiltinType *BT = getAs<BuiltinType>()) {
2384 if (const auto *RT = CanonicalType->getAs<RecordType>()) {
2430 if (const auto *RT = CanonicalType->getAs<RecordType>()) {
2463 getTypePtr()->getBaseElementTypeUnsafe()->getAs<RecordType>())
2479 getTypePtr()->getBaseElementTypeUnsafe()->getAs<RecordType>())
2535 if (const auto *RT = BaseTy->getAs<RecordType>()) {
2553 if (const auto *AT = BaseTy->getAs<AtomicType>())
2582 if (const auto *RT = BaseTy->getAs<RecordType>()) {
2624 if (const auto *RT = BaseTy->getAs<RecordType>()) {
2662 if (const auto *ET = getAs<EnumType>()) {
2671 if (const auto *ET = getAs<EnumType>()) {
2680 if (const auto *BT = getAs<BuiltinType>())
2701 if (const auto *ET = getAs<EnumType>()){
3049 if (const auto *RefType = getTypePtr()->getAs<ReferenceType>())
3204 if (ET->isDependentType() || ET->getAs<PackExpansionType>())
3240 if (!getExceptionType(I)->getAs<PackExpansionType>())
3439 if (const auto *FieldRecTy = FieldTy->getAs<RecordType>()) {
3962 while (const auto *AT = Type->getAs<AttributedType>()) {
4123 const auto *objcPtr = getAs<ObjCObjectPointerType>();
4208 if (const auto *OPT = getAs<PointerType>())
4210 if (const auto *Ref = getAs<ReferenceType>())
4212 if (const auto *MemPtr = getAs<MemberPointerType>())
4234 const auto *Pointer = getAs<PointerType>();
4244 if (const auto *RT = getAs<RecordType>())
4251 if (const auto *RT = getAs<RecordType>())
4259 if (const auto *ptr = getAs<PointerType>())
4261 if (const auto *ref = getAs<ReferenceType>())
4288 type->getBaseElementTypeUnsafe()->getAs<RecordType>()) {