Lines Matching defs:getAs

52     ND = ty->getAs<RecordType>()->getDecl();
54 ND = ty->getAs<EnumType>()->getDecl();
56 ND = ty->getAs<TypedefType>()->getDecl();
306 while (const ParenType *PT = T->getAs<ParenType>())
332 template <> const TypedefType *Type::getAs() const {
336 template <> const TemplateSpecializationType *Type::getAs() const {
378 if (const RecordType *RT = getAs<RecordType>())
383 if (const RecordType *RT = getAs<RecordType>())
388 if (const RecordType *RT = getAs<RecordType>())
393 if (const RecordType *RT = getAs<RecordType>())
399 if (const PointerType *PT = getAs<PointerType>())
405 if (const RecordType *RT = getAs<RecordType>())
422 if (const ComplexType *Complex = getAs<ComplexType>())
429 if (const PointerType *PT = getAs<PointerType>())
431 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>())
433 if (const BlockPointerType *BPT = getAs<BlockPointerType>())
435 if (const ReferenceType *RT = getAs<ReferenceType>())
497 if (const ObjCObjectType *T = getAs<ObjCObjectType>())
510 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) {
520 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) {
528 if (const ObjCObjectPointerType *OPT = getAs<ObjCObjectPointerType>()) {
537 if (const PointerType *PT = getAs<PointerType>())
539 else if (const ReferenceType *RT = getAs<ReferenceType>())
544 if (const RecordType *RT = PointeeType->getAs<RecordType>())
551 if (const RecordType *RT = getAs<RecordType>())
554 = getAs<InjectedClassNameType>())
1072 if (const RecordType *RT = CanonicalType->getAs<RecordType>()) {
1130 if (const RecordType *RT = CanonicalType->getAs<RecordType>()) {
1181 if (const RecordType *RT = BaseTy->getAs<RecordType>()) {
1220 if (const RecordType *RT = BaseTy->getAs<RecordType>()) {
1272 if (const RecordType *RT = BaseTy->getAs<RecordType>()) {
1302 if (const BuiltinType *BT = getAs<BuiltinType>())
1322 if (const EnumType *ET = getAs<EnumType>()){
1552 if (const ReferenceType *RefType = getTypePtr()->getAs<ReferenceType>())
2328 if (const PointerType *OPT = getAs<PointerType>())
2330 if (const ReferenceType *Ref = getAs<ReferenceType>())
2332 if (const MemberPointerType *MemPtr = getAs<MemberPointerType>())
2354 const PointerType *Pointer = getAs<PointerType>();
2365 if (const PointerType *ptr = getAs<PointerType>())
2367 if (const ReferenceType *ref = getAs<ReferenceType>())