Home | History | Annotate | Download | only in Sema

Lines Matching refs:RHSTy

3827   QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType();
3837 if (LHSTy->isDependentType() || RHSTy->isDependentType()) {
3857 } else if (const PointerType *PTy = RHSTy->getAs<PointerType>()) {
3863 RHSTy->getAs<ObjCObjectPointerType>()) {
3897 } else if (RHSTy->isArrayType()) {
3901 RHSExp = ImpCastExprToType(RHSExp, Context.getArrayDecayedType(RHSTy),
3903 RHSTy = RHSExp->getType();
3907 ResultType = RHSTy->getAs<PointerType>()->getPointeeType();
5508 QualType RHSTy = RHS.get()->getType();
5510 if (S.Context.hasSameType(LHSTy, RHSTy)) {
5521 rhptee = RHSTy->castAs<BlockPointerType>()->getPointeeType();
5525 rhptee = RHSTy->castAs<PointerType>()->getPointeeType();
5551 << LHSTy << RHSTy << LHS.get()->getSourceRange()
5610 QualType RHSTy = RHS.get()->getType();
5612 if (!LHSTy->isBlockPointerType() || !RHSTy->isBlockPointerType()) {
5613 if (LHSTy->isVoidPointerType() || RHSTy->isVoidPointerType()) {
5620 << LHSTy << RHSTy << LHS.get()->getSourceRange()
5636 QualType RHSTy = RHS.get()->getType();
5640 QualType rhptee = RHSTy->getAs<PointerType>()->getPointeeType();
5729 QualType RHSTy = RHS.get()->getType();
5740 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType())
5746 if (const RecordType *RHSRT = RHSTy->getAs<RecordType>())
5756 if (LHSTy->isVoidType() || RHSTy->isVoidType()) {
5763 if (!checkConditionalNullPointer(*this, LHS, RHSTy)) return RHSTy;
5775 if (LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType())
5780 if (LHSTy->isPointerType() && RHSTy->isPointerType())
5788 return RHSTy;
5801 << LHSTy << RHSTy << LHS.get()->getSourceRange()
5811 QualType RHSTy = RHS.get()->getType();
5817 (Context.hasSameType(RHSTy, Context.getObjCClassRedefinitionType()))) {
5821 if (RHSTy->isObjCClassType() &&
5823 LHS = ImpCastExprToType(LHS.get(), RHSTy, CK_CPointerToObjCPointerCast);
5824 return RHSTy;
5828 (Context.hasSameType(RHSTy, Context.getObjCIdRedefinitionType()))) {
5832 if (RHSTy->isObjCIdType() &&
5834 LHS = ImpCastExprToType(LHS.get(), RHSTy, CK_CPointerToObjCPointerCast);
5835 return RHSTy;
5839 (Context.hasSameType(RHSTy, Context.getObjCSelRedefinitionType()))) {
5843 if (Context.isObjCSelType(RHSTy) &&
5845 LHS = ImpCastExprToType(LHS.get(), RHSTy, CK_BitCast);
5846 return RHSTy;
5849 if (LHSTy->isObjCObjectPointerType() && RHSTy->isObjCObjectPointerType()) {
5851 if (Context.getCanonicalType(LHSTy) == Context.getCanonicalType(RHSTy)) {
5856 const ObjCObjectPointerType *RHSOPT = RHSTy->castAs<ObjCObjectPointerType>();
5873 compositeType = RHSOPT->isObjCBuiltinType() ? RHSTy : LHSTy;
5875 compositeType = LHSOPT->isObjCBuiltinType() ? LHSTy : RHSTy;
5877 RHSTy->isObjCQualifiedIdType()) &&
5878 Context.ObjCQualifiedIdTypesAreCompatible(LHSTy, RHSTy, true)) {
5884 } else if (LHSTy->isObjCIdType() || RHSTy->isObjCIdType()) {
5891 << LHSTy << RHSTy
5904 if (LHSTy->isVoidPointerType() && RHSTy->isObjCObjectPointerType()) {
5908 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
5914 QualType rhptee = RHSTy->getAs<ObjCObjectPointerType>()->getPointeeType();
5924 if (LHSTy->isObjCObjectPointerType() && RHSTy->isVoidPointerType()) {
5928 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
5934 QualType rhptee = RHSTy->getAs<PointerType>()->getPointeeType();