Lines Matching defs:RHSTy

1468                                            QualType RHSTy) {
1469 assert((LHSTy->isFixedPointType() || RHSTy->isFixedPointType()) &&
1472 RHSTy->isFixedPointOrIntegerType()) &&
1480 if (RHSTy->isSignedFixedPointType() && LHSTy->isUnsignedFixedPointType())
1482 else if (RHSTy->isUnsignedFixedPointType() && LHSTy->isSignedFixedPointType())
1483 RHSTy = S.Context.getCorrespondingSignedFixedPointType(RHSTy);
1494 unsigned RHSTyRank = GetFixedPointRank(RHSTy);
1496 QualType ResultTy = LHSTyRank > RHSTyRank ? LHSTy : RHSTy;
1498 if (LHSTy->isSaturatedFixedPointType() || RHSTy->isSaturatedFixedPointType())
5164 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType();
5172 if (LHSTy->isDependentType() || RHSTy->isDependentType()) {
5193 } else if (const PointerType *PTy = RHSTy->getAs<PointerType>()) {
5199 RHSTy->getAs<ObjCObjectPointerType>()) {
5256 } else if (RHSTy->isArrayType()) {
5260 RHSExp = ImpCastExprToType(RHSExp, Context.getArrayDecayedType(RHSTy),
5262 RHSTy = RHSExp->getType();
5266 ResultType = RHSTy->castAs<PointerType>()->getPointeeType();
8006 QualType RHSTy = RHS.get()->getType();
8008 if (S.Context.hasSameType(LHSTy, RHSTy)) {
8010 return S.Context.getCommonSugaredType(LHSTy, RHSTy);
8019 rhptee = RHSTy->castAs<BlockPointerType>()->getPointeeType();
8023 rhptee = RHSTy->castAs<PointerType>()->getPointeeType();
8050 << LHSTy << RHSTy << 2 << LHS.get()->getSourceRange()
8102 << LHSTy << RHSTy << LHS.get()->getSourceRange()
8138 QualType RHSTy = RHS.get()->getType();
8140 if (!LHSTy->isBlockPointerType() || !RHSTy->isBlockPointerType()) {
8141 if (LHSTy->isVoidPointerType() || RHSTy->isVoidPointerType()) {
8148 << LHSTy << RHSTy << LHS.get()->getSourceRange()
8164 QualType RHSTy = RHS.get()->getType();
8168 QualType rhptee = RHSTy->castAs<PointerType>()->getPointeeType();
8481 QualType RHSTy = RHS.get()->getType();
8482 if (LHSTy->isWebAssemblyTableType() || RHSTy->isWebAssemblyTableType()) {
8490 if (unsupportedTypeConversion(*this, LHSTy, RHSTy)) {
8492 diag::err_typecheck_cond_incompatible_operands) << LHSTy << RHSTy
8506 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType()) {
8510 if (ResTy.isNull() && (LHSTy->isBitIntType() || RHSTy->isBitIntType())) {
8512 << LHSTy << RHSTy << LHS.get()->getSourceRange()
8526 if (const RecordType *RHSRT = RHSTy->getAs<RecordType>())
8531 RHSTy.getUnqualifiedType());
8537 if (LHSTy->isVoidType() || RHSTy->isVoidType()) {
8539 if (LHSTy->isVoidType() && RHSTy->isVoidType()) {
8540 ResTy = Context.getCommonSugaredType(LHSTy, RHSTy);
8541 } else if (RHSTy->isVoidType()) {
8542 ResTy = RHSTy;
8558 if (LHSTy->isNullPtrType() && Context.hasSameType(LHSTy, RHSTy))
8564 if (!checkConditionalNullPointer(*this, LHS, RHSTy)) return RHSTy;
8576 if (LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType())
8581 if (LHSTy->isPointerType() && RHSTy->isPointerType())
8589 return RHSTy;
8602 if (Context.hasSameType(LHSTy, RHSTy))
8603 return Context.getCommonSugaredType(LHSTy, RHSTy);
8607 << LHSTy << RHSTy << LHS.get()->getSourceRange()
8745 QualType LHSTy, QualType RHSTy,
8761 auto LHSKind = GetNullability(LHSTy), RHSKind = GetNullability(RHSTy);
8870 QualType LHSTy = LHSExpr->getType(), RHSTy = RHSExpr->getType();
8885 result = computeConditionalNullability(result, commonExpr, LHSTy, RHSTy,
10556 QualType RHSTy;
10559 RHSTy = RUE->getArgumentType().getNonReferenceType();
10561 RHSTy = RUE->getArgumentExpr()->IgnoreParens()->getType();
10563 if (LHSTy->isPointerType() && !RHSTy->isPointerType()) {
10564 if (!S.Context.hasSameUnqualifiedType(LHSTy->getPointeeType(), RHSTy))
10576 ArrayElemTy->isDependentType() || RHSTy->isDependentType() ||
10577 RHSTy->isReferenceType() || ArrayElemTy->isCharType() ||
10578 S.Context.getTypeSize(ArrayElemTy) == S.Context.getTypeSize(RHSTy))
10581 << LHSArg->getSourceRange() << ArrayElemTy << RHSTy;
10611 QualType RHSTy = RHS.get()->getType();
10612 if (LHSTy->isVectorType() || RHSTy->isVectorType())
10618 if (LHSTy->isSveVLSBuiltinType() || RHSTy->isSveVLSBuiltinType())
10622 (LHSTy->isConstantMatrixType() || RHSTy->isConstantMatrixType()))
10626 if (IsDiv && LHSTy->isConstantMatrixType() && RHSTy->isArithmeticType())
13204 QualType RHSTy = RHS.get()->getType();
13206 const auto *RHSATy = dyn_cast<ArrayType>(RHSTy);
14828 QualType RHSTy = RHSExpr->getType();
14831 if (LHSTy->isAtomicType() || RHSTy->isAtomicType()) {
14842 if (LHSTy->isImageType() || RHSTy->isImageType() ||
14843 LHSTy->isSamplerT() || RHSTy->isSamplerT() ||
14844 LHSTy->isPipeType() || RHSTy->isPipeType() ||
14845 LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType()) {