Lines Matching refs:LHSTy

4279   QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType();
4289 if (LHSTy->isDependentType() || RHSTy->isDependentType()) {
4293 } else if (const PointerType *PTy = LHSTy->getAs<PointerType>()) {
4298 LHSTy->getAs<ObjCObjectPointerType>()) {
4325 } else if (const VectorType *VTy = LHSTy->getAs<VectorType>()) {
4334 } else if (LHSTy->isArrayType()) {
4342 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy),
4344 LHSTy = LHSExp->getType();
4348 ResultType = LHSTy->getAs<PointerType>()->getPointeeType();
6085 QualType LHSTy = LHS.get()->getType();
6088 if (S.Context.hasSameType(LHSTy, RHSTy)) {
6090 return LHSTy;
6097 if (const BlockPointerType *LHSBTy = LHSTy->getAs<BlockPointerType>()) {
6102 lhptee = LHSTy->castAs<PointerType>()->getPointeeType();
6129 << LHSTy << RHSTy << LHS.get()->getSourceRange()
6157 QualType LHSTy = LHS.get()->getType();
6160 if (!LHSTy->isBlockPointerType() || !RHSTy->isBlockPointerType()) {
6161 if (LHSTy->isVoidPointerType() || RHSTy->isVoidPointerType()) {
6168 << LHSTy << RHSTy << LHS.get()->getSourceRange()
6183 QualType LHSTy = LHS.get()->getType();
6187 QualType lhptee = LHSTy->getAs<PointerType>()->getPointeeType();
6462 QualType LHSTy = LHS.get()->getType();
6467 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType()) {
6476 if (const RecordType *LHSRT = LHSTy->getAs<RecordType>()) { // C99 6.5.15p3
6481 return LHSTy.getUnqualifiedType();
6487 if (LHSTy->isVoidType() || RHSTy->isVoidType()) {
6493 if (!checkConditionalNullPointer(*this, RHS, LHSTy)) return LHSTy;
6506 if (LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType())
6511 if (LHSTy->isPointerType() && RHSTy->isPointerType())
6522 return LHSTy;
6532 << LHSTy << RHSTy << LHS.get()->getSourceRange()
6541 QualType LHSTy = LHS.get()->getType();
6547 if (LHSTy->isObjCClassType() &&
6549 RHS = ImpCastExprToType(RHS.get(), LHSTy, CK_CPointerToObjCPointerCast);
6550 return LHSTy;
6553 (Context.hasSameType(LHSTy, Context.getObjCClassRedefinitionType()))) {
6558 if (LHSTy->isObjCIdType() &&
6560 RHS = ImpCastExprToType(RHS.get(), LHSTy, CK_CPointerToObjCPointerCast);
6561 return LHSTy;
6564 (Context.hasSameType(LHSTy, Context.getObjCIdRedefinitionType()))) {
6569 if (Context.isObjCSelType(LHSTy) &&
6571 RHS = ImpCastExprToType(RHS.get(), LHSTy, CK_BitCast);
6572 return LHSTy;
6575 (Context.hasSameType(LHSTy, Context.getObjCSelRedefinitionType()))) {
6580 if (LHSTy->isObjCObjectPointerType() && RHSTy->isObjCObjectPointerType()) {
6582 if (Context.getCanonicalType(LHSTy) == Context.getCanonicalType(RHSTy)) {
6584 return LHSTy;
6586 const ObjCObjectPointerType *LHSOPT = LHSTy->castAs<ObjCObjectPointerType>();
6588 QualType compositeType = LHSTy;
6607 compositeType = RHSOPT->isObjCBuiltinType() ? RHSTy : LHSTy;
6609 compositeType = LHSOPT->isObjCBuiltinType() ? LHSTy : RHSTy;
6610 } else if ((LHSTy->isObjCQualifiedIdType() ||
6612 Context.ObjCQualifiedIdTypesAreCompatible(LHSTy, RHSTy, true)) {
6618 } else if (LHSTy->isObjCIdType() || RHSTy->isObjCIdType()) {
6622 << LHSTy << RHSTy
6635 if (LHSTy->isVoidPointerType() && RHSTy->isObjCObjectPointerType()) {
6639 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
6644 QualType lhptee = LHSTy->getAs<PointerType>()->getPointeeType();
6655 if (LHSTy->isObjCObjectPointerType() && RHSTy->isVoidPointerType()) {
6659 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
6664 QualType lhptee = LHSTy->getAs<ObjCObjectPointerType>()->getPointeeType();
8157 QualType LHSTy = Context.isPromotableBitField(LHS.get());
8158 if (LHSTy.isNull()) {
8159 LHSTy = LHS.get()->getType();
8160 if (LHSTy->isPromotableIntegerType())
8161 LHSTy = Context.getPromotedIntegerType(LHSTy);
8163 *CompLHSTy = LHSTy;
9716 QualType LHSTy(LHSType);
9717 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS);