Lines Matching defs:T2
7012 bool isLayoutCompatible(ASTContext &C, QualType T1, QualType T2);
7133 bool isLayoutCompatible(ASTContext &C, QualType T1, QualType T2) {
7134 if (T1.isNull() || T2.isNull())
7138 // If two types T1 and T2 are the same type, then T1 and T2 are
7140 if (C.hasSameType(T1, T2))
7144 T2 = T2.getCanonicalType().getUnqualifiedType();
7147 const Type::TypeClass TC2 = T2->getTypeClass();
7155 cast<EnumType>(T2)->getDecl());
7157 if (!T1->isStandardLayoutType() || !T2->isStandardLayoutType())
7162 cast<RecordType>(T2)->getDecl());
7317 bool IsSameCharType(QualType T1, QualType T2) {
7322 const BuiltinType *BT2 = T2->getAs<BuiltinType>();