Lines Matching defs:RHSTy

1436                                            QualType RHSTy) {
1437 assert((LHSTy->isFixedPointType() || RHSTy->isFixedPointType()) &&
1440 RHSTy->isFixedPointOrIntegerType()) &&
1448 if (RHSTy->isSignedFixedPointType() && LHSTy->isUnsignedFixedPointType())
1450 else if (RHSTy->isUnsignedFixedPointType() && LHSTy->isSignedFixedPointType())
1451 RHSTy = S.Context.getCorrespondingSignedFixedPointType(RHSTy);
1462 unsigned RHSTyRank = GetFixedPointRank(RHSTy);
1464 QualType ResultTy = LHSTyRank > RHSTyRank ? LHSTy : RHSTy;
1466 if (LHSTy->isSaturatedFixedPointType() || RHSTy->isSaturatedFixedPointType())
5120 QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType();
5128 if (LHSTy->isDependentType() || RHSTy->isDependentType()) {
5149 } else if (const PointerType *PTy = RHSTy->getAs<PointerType>()) {
5155 RHSTy->getAs<ObjCObjectPointerType>()) {
5212 } else if (RHSTy->isArrayType()) {
5216 RHSExp = ImpCastExprToType(RHSExp, Context.getArrayDecayedType(RHSTy),
5218 RHSTy = RHSExp->getType();
5222 ResultType = RHSTy->castAs<PointerType>()->getPointeeType();
7918 QualType RHSTy = RHS.get()->getType();
7920 if (S.Context.hasSameType(LHSTy, RHSTy)) {
7922 return S.Context.getCommonSugaredType(LHSTy, RHSTy);
7931 rhptee = RHSTy->castAs<BlockPointerType>()->getPointeeType();
7935 rhptee = RHSTy->castAs<PointerType>()->getPointeeType();
7962 << LHSTy << RHSTy << 2 << LHS.get()->getSourceRange()
8014 << LHSTy << RHSTy << LHS.get()->getSourceRange()
8050 QualType RHSTy = RHS.get()->getType();
8052 if (!LHSTy->isBlockPointerType() || !RHSTy->isBlockPointerType()) {
8053 if (LHSTy->isVoidPointerType() || RHSTy->isVoidPointerType()) {
8060 << LHSTy << RHSTy << LHS.get()->getSourceRange()
8076 QualType RHSTy = RHS.get()->getType();
8080 QualType rhptee = RHSTy->castAs<PointerType>()->getPointeeType();
8388 QualType RHSTy = RHS.get()->getType();
8389 if (LHSTy->isWebAssemblyTableType() || RHSTy->isWebAssemblyTableType()) {
8397 if (unsupportedTypeConversion(*this, LHSTy, RHSTy)) {
8399 diag::err_typecheck_cond_incompatible_operands) << LHSTy << RHSTy
8413 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType()) {
8417 if (ResTy.isNull() && (LHSTy->isBitIntType() || RHSTy->isBitIntType())) {
8419 << LHSTy << RHSTy << LHS.get()->getSourceRange()
8433 if (const RecordType *RHSRT = RHSTy->getAs<RecordType>())
8438 RHSTy.getUnqualifiedType());
8444 if (LHSTy->isVoidType() || RHSTy->isVoidType()) {
8446 if (LHSTy->isVoidType() && RHSTy->isVoidType()) {
8447 ResTy = Context.getCommonSugaredType(LHSTy, RHSTy);
8448 } else if (RHSTy->isVoidType()) {
8449 ResTy = RHSTy;
8465 if (LHSTy->isNullPtrType() && Context.hasSameType(LHSTy, RHSTy))
8471 if (!checkConditionalNullPointer(*this, LHS, RHSTy)) return RHSTy;
8483 if (LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType())
8488 if (LHSTy->isPointerType() && RHSTy->isPointerType())
8496 return RHSTy;
8509 if (Context.hasSameType(LHSTy, RHSTy))
8510 return Context.getCommonSugaredType(LHSTy, RHSTy);
8514 << LHSTy << RHSTy << LHS.get()->getSourceRange()
8652 QualType LHSTy, QualType RHSTy,
8668 auto LHSKind = GetNullability(LHSTy), RHSKind = GetNullability(RHSTy);
8778 QualType LHSTy = LHSExpr->getType(), RHSTy = RHSExpr->getType();
8793 result = computeConditionalNullability(result, commonExpr, LHSTy, RHSTy,
10438 QualType RHSTy;
10441 RHSTy = RUE->getArgumentType().getNonReferenceType();
10443 RHSTy = RUE->getArgumentExpr()->IgnoreParens()->getType();
10445 if (LHSTy->isPointerType() && !RHSTy->isPointerType()) {
10446 if (!S.Context.hasSameUnqualifiedType(LHSTy->getPointeeType(), RHSTy))
10458 ArrayElemTy->isDependentType() || RHSTy->isDependentType() ||
10459 RHSTy->isReferenceType() || ArrayElemTy->isCharType() ||
10460 S.Context.getTypeSize(ArrayElemTy) == S.Context.getTypeSize(RHSTy))
10463 << LHSArg->getSourceRange() << ArrayElemTy << RHSTy;
10493 QualType RHSTy = RHS.get()->getType();
10494 if (LHSTy->isVectorType() || RHSTy->isVectorType())
10500 if (LHSTy->isSveVLSBuiltinType() || RHSTy->isSveVLSBuiltinType())
10504 (LHSTy->isConstantMatrixType() || RHSTy->isConstantMatrixType()))
10508 if (IsDiv && LHSTy->isConstantMatrixType() && RHSTy->isArithmeticType())
13014 QualType RHSTy = RHS.get()->getType();
13016 const auto *RHSATy = dyn_cast<ArrayType>(RHSTy);
14625 QualType RHSTy = RHSExpr->getType();
14628 if (LHSTy->isAtomicType() || RHSTy->isAtomicType()) {
14639 if (LHSTy->isImageType() || RHSTy->isImageType() ||
14640 LHSTy->isSamplerT() || RHSTy->isSamplerT() ||
14641 LHSTy->isPipeType() || RHSTy->isPipeType() ||
14642 LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType()) {