Lines Matching refs:getAs
151 const auto *PT = T->getAs<ObjCObjectPointerType>();
167 const auto *PT = T->getAs<PointerType>();
171 const auto *RT = PT->getPointeeType()->getAs<RecordType>();
507 if (const auto *RT = QT->getAs<RecordType>()) {
525 if (const auto *RT = QT->getAs<RecordType>())
529 if (const auto *PT = QT->getAs<PointerType>())
530 return PT->getPointeeType()->getAs<RecordType>();
577 const auto *TD = Ty->getAs<TypedefType>();
1384 if (!VD->getType()->getAs<ObjCObjectPointerType>()) {
1391 if (!PD->getType()->getAs<ObjCObjectPointerType>()) {
2796 : Ty->castAs<BlockPointerType>()->getPointeeType()->getAs<FunctionType>();
3291 if (!T->getAs<RecordType>()) {
4092 if (const auto *VT = OldTy->getAs<VectorType>())
4098 if ((isa<EnumDecl>(D) || OldElemTy->getAs<EnumType>()) &&
4105 OldElemTy->getAs<EnumType>();
4107 if (!OldElemTy->getAs<BuiltinType>() && !OldElemTy->isComplexType() &&
4142 } else if (const auto *OldVT = OldTy->getAs<VectorType>()) {
4354 !FD->getReturnType()->getAs<AutoType>() &&
4720 if (const auto *PtrType = Ty->getAs<PointerType>()) {
4722 } else if (const auto *RefType = Ty->getAs<ReferenceType>()) {
4732 if (const auto *PtrType = Ty->getAs<PointerType>()) {
4734 } else if (const auto *RefType = Ty->getAs<ReferenceType>()) {
4863 return ValArg.getAs<Expr>();
6723 while (const auto *TT = T->getAs<TypedefType>()) {
7617 if (const auto *FT = FDTy->getAs<FunctionProtoType>()) {