Lines Matching refs:getAs
592 if (const auto *TT = QT->getAs<TagType>())
1705 if (const auto *RT = T->getAs<ReferenceType>()) {
1786 if (const auto *RT = T->getAs<RecordType>()) {
1839 if (const auto *TT = T->getAs<TypedefType>())
1850 if (const auto *TT = T->getAs<TypedefType>())
1855 if (const auto *TT = T->getAs<TagType>())
2329 if (const auto *RT = T->getAs<RecordType>()) {
2333 } else if (const auto *ObjCI = T->getAs<ObjCInterfaceType>()) {
2411 if (const auto *CT = T->getAs<ComplexType>())
2413 if (const auto *ET = T->getAs<EnumType>())
2642 const auto *MPT = Ty->getAs<MemberPointerType>();
2899 if (const auto *ptr = T->getAs<PointerType>()) {
2922 if (const PointerType *Ptr = T->getAs<PointerType>()) {
3006 if (const auto *Proto = T->getAs<FunctionProtoType>()) {
3014 if (const FunctionNoProtoType *Proto = T->getAs<FunctionNoProtoType>()) {
3220 const auto *InnerRef = T->getAs<ReferenceType>();
3256 const auto *InnerRef = T->getAs<ReferenceType>();
4106 if (ET->getAs<PackExpansionType>())
4195 if (ET->getAs<PackExpansionType>())
4966 if (const auto *baseObject = baseType->getAs<ObjCObjectType>())
5147 if (const auto *OPT = QT->getAs<ObjCObjectPointerType>()) {
5165 const auto *OPT = QT->getAs<ObjCObjectPointerType>();
5675 const auto *T1PtrType = T1->getAs<PointerType>();
5676 const auto *T2PtrType = T2->getAs<PointerType>();
5683 const auto *T1MPType = T1->getAs<MemberPointerType>();
5684 const auto *T2MPType = T2->getAs<MemberPointerType>();
5694 const auto *T1OPType = T1->getAs<ObjCObjectPointerType>();
5695 const auto *T2OPType = T2->getAs<ObjCObjectPointerType>();
5929 if (const auto *DNT = T->getAs<DependentNameType>())
6093 if (const auto *CT = T->getAs<ComplexType>())
6262 if (const auto *ET = Promotable->getAs<EnumType>())
6265 if (const auto *BT = Promotable->getAs<BuiltinType>()) {
6309 else if (const auto *PT = T->getAs<PointerType>())
6311 else if (const auto *RT = T->getAs<ReferenceType>())
7037 if (const auto *BT = PointeeTy->getAs<BuiltinType>()) {
7222 if (const auto *ET = T->getAs<EnumType>())
7291 while (auto PT = P->getAs<PointerType>())
7313 } else if (const auto *RTy = PointeeTy->getAs<RecordType>()) {
8830 const auto *lhsOPT = lhs->getAs<ObjCObjectPointerType>();
8831 const auto *rhsOPT = rhs->getAs<ObjCObjectPointerType>();
8836 const auto *lhsBlock = lhs->getAs<BlockPointerType>();
8837 const auto *rhsBlock = rhs->getAs<BlockPointerType>();
9075 const auto *LHSOPT = LHS->getAs<ObjCObjectPointerType>();
9076 const auto *RHSOPT = RHS->getAs<ObjCObjectPointerType>();
9307 if (const auto *Enum = paramTy->getAs<EnumType>()) {
9361 assert(!LHS->getAs<ReferenceType>() && "LHS is a reference type?");
9362 assert(!RHS->getAs<ReferenceType>() && "RHS is a reference type?");
9437 if (const auto *ETy = LHS->getAs<EnumType>()) {
9440 if (const EnumType* ETy = RHS->getAs<EnumType>()) {
9829 if (const auto *ET = T->getAs<EnumType>())
9833 if(const auto *EIT = T->getAs<ExtIntType>())
9844 if (const auto *VTy = T->getAs<VectorType>())
9849 if (const auto *ETy = T->getAs<EnumType>())