Lines Matching defs:T2

232     bool IsStructurallyEquivalent(QualType T1, QualType T2);
260 QualType T1, QualType T2);
367 QualType T1, QualType T2) {
368 if (T1.isNull() || T2.isNull())
369 return T1.isNull() && T2.isNull();
375 T2 = Context.C2.getCanonicalType(T2);
378 if (T1.getQualifiers() != T2.getQualifiers())
383 if (T1->getTypeClass() != T2->getTypeClass()) {
387 T2->getTypeClass() == Type::FunctionNoProto)
390 T2->getTypeClass() == Type::FunctionProto)
399 if (cast<BuiltinType>(T1)->getKind() != cast<BuiltinType>(T2)->getKind())
406 cast<ComplexType>(T2)->getElementType()))
413 cast<DecayedType>(T2)->getPointeeType()))
420 cast<PointerType>(T2)->getPointeeType()))
427 cast<BlockPointerType>(T2)->getPointeeType()))
434 const ReferenceType *Ref2 = cast<ReferenceType>(T2);
448 const MemberPointerType *MemPtr2 = cast<MemberPointerType>(T2);
462 const ConstantArrayType *Array2 = cast<ConstantArrayType>(T2);
474 cast<ArrayType>(T2)))
480 const VariableArrayType *Array2 = cast<VariableArrayType>(T2);
493 const DependentSizedArrayType *Array2 = cast<DependentSizedArrayType>(T2);
508 = cast<DependentSizedExtVectorType>(T2);
522 const VectorType *Vec2 = cast<VectorType>(T2);
536 const FunctionProtoType *Proto2 = cast<FunctionProtoType>(T2);
572 const FunctionType *Function2 = cast<FunctionType>(T2);
585 cast<UnresolvedUsingType>(T2)->getDecl()))
593 cast<AttributedType>(T2)->getModifiedType()))
597 cast<AttributedType>(T2)->getEquivalentType()))
604 cast<ParenType>(T2)->getInnerType()))
611 cast<TypedefType>(T2)->getDecl()))
618 cast<TypeOfExprType>(T2)->getUnderlyingExpr()))
625 cast<TypeOfType>(T2)->getUnderlyingType()))
639 cast<DecltypeType>(T2)->getUnderlyingExpr()))
646 cast<AutoType>(T2)->getDeducedType()))
654 cast<TagType>(T2)->getDecl()))
660 const TemplateTypeParmType *Parm2 = cast<TemplateTypeParmType>(T2);
676 = cast<SubstTemplateTypeParmType>(T2);
692 = cast<SubstTemplateTypeParmPackType>(T2);
707 = cast<TemplateSpecializationType>(T2);
724 const ElaboratedType *Elab2 = cast<ElaboratedType>(T2);
741 const InjectedClassNameType *Inj2 = cast<InjectedClassNameType>(T2);
751 const DependentNameType *Typename2 = cast<DependentNameType>(T2);
767 cast<DependentTemplateSpecializationType>(T2);
788 cast<PackExpansionType>(T2)->getPattern()))
794 const ObjCInterfaceType *Iface2 = cast<ObjCInterfaceType>(T2);
803 const ObjCObjectType *Obj2 = cast<ObjCObjectType>(T2);
821 const ObjCObjectPointerType *Ptr2 = cast<ObjCObjectPointerType>(T2);
832 cast<AtomicType>(T2)->getValueType()))
1303 QualType T2) {
1304 if (!::IsStructurallyEquivalent(*this, T1, T2))