Home | History | Annotate | Download | only in Sema

Lines Matching defs:LHSTy

3643   QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType();
3653 if (LHSTy->isDependentType() || RHSTy->isDependentType()) {
3657 } else if (const PointerType *PTy = LHSTy->getAs<PointerType>()) {
3662 LHSTy->getAs<ObjCObjectPointerType>()) {
3693 } else if (const VectorType *VTy = LHSTy->getAs<VectorType>()) {
3702 } else if (LHSTy->isArrayType()) {
3710 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy),
3712 LHSTy = LHSExp->getType();
3716 ResultType = LHSTy->getAs<PointerType>()->getPointeeType();
5278 QualType LHSTy = LHS.get()->getType();
5281 if (S.Context.hasSameType(LHSTy, RHSTy)) {
5283 return LHSTy;
5290 if (const BlockPointerType *LHSBTy = LHSTy->getAs<BlockPointerType>()) {
5295 lhptee = LHSTy->castAs<PointerType>()->getPointeeType();
5322 << LHSTy << RHSTy << LHS.get()->getSourceRange()
5350 QualType LHSTy = LHS.get()->getType();
5353 if (!LHSTy->isBlockPointerType() || !RHSTy->isBlockPointerType()) {
5354 if (LHSTy->isVoidPointerType() || RHSTy->isVoidPointerType()) {
5361 << LHSTy << RHSTy << LHS.get()->getSourceRange()
5376 QualType LHSTy = LHS.get()->getType();
5380 QualType lhptee = LHSTy->getAs<PointerType>()->getPointeeType();
5460 QualType LHSTy = LHS.get()->getType();
5468 if (LHSTy->isVectorType() || RHSTy->isVectorType())
5480 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType())
5485 if (const RecordType *LHSRT = LHSTy->getAs<RecordType>()) { // C99 6.5.15p3
5490 return LHSTy.getUnqualifiedType();
5496 if (LHSTy->isVoidType() || RHSTy->isVoidType()) {
5502 if (!checkConditionalNullPointer(*this, RHS, LHSTy)) return LHSTy;
5515 if (LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType())
5520 if (LHSTy->isPointerType() && RHSTy->isPointerType())
5531 return LHSTy;
5541 << LHSTy << RHSTy << LHS.get()->getSourceRange()
5550 QualType LHSTy = LHS.get()->getType();
5556 if (LHSTy->isObjCClassType() &&
5558 RHS = ImpCastExprToType(RHS.take(), LHSTy, CK_CPointerToObjCPointerCast);
5559 return LHSTy;
5562 (Context.hasSameType(LHSTy, Context.getObjCClassRedefinitionType()))) {
5567 if (LHSTy->isObjCIdType() &&
5569 RHS = ImpCastExprToType(RHS.take(), LHSTy, CK_CPointerToObjCPointerCast);
5570 return LHSTy;
5573 (Context.hasSameType(LHSTy, Context.getObjCIdRedefinitionType()))) {
5578 if (Context.isObjCSelType(LHSTy) &&
5580 RHS = ImpCastExprToType(RHS.take(), LHSTy, CK_BitCast);
5581 return LHSTy;
5584 (Context.hasSameType(LHSTy, Context.getObjCSelRedefinitionType()))) {
5589 if (LHSTy->isObjCObjectPointerType() && RHSTy->isObjCObjectPointerType()) {
5591 if (Context.getCanonicalType(LHSTy) == Context.getCanonicalType(RHSTy)) {
5593 return LHSTy;
5595 const ObjCObjectPointerType *LHSOPT = LHSTy->castAs<ObjCObjectPointerType>();
5597 QualType compositeType = LHSTy;
5613 compositeType = RHSOPT->isObjCBuiltinType() ? RHSTy : LHSTy;
5615 compositeType = LHSOPT->isObjCBuiltinType() ? LHSTy : RHSTy;
5616 } else if ((LHSTy->isObjCQualifiedIdType() ||
5618 Context.ObjCQualifiedIdTypesAreCompatible(LHSTy, RHSTy, true)) {
5624 } else if (LHSTy->isObjCIdType() || RHSTy->isObjCIdType()) {
5631 << LHSTy << RHSTy
5644 if (LHSTy->isVoidPointerType() && RHSTy->isObjCObjectPointerType()) {
5648 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
5653 QualType lhptee = LHSTy->getAs<PointerType>()->getPointeeType();
5664 if (LHSTy->isObjCObjectPointerType() && RHSTy->isVoidPointerType()) {
5668 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
5673 QualType lhptee = LHSTy->getAs<ObjCObjectPointerType>()->getPointeeType();
6965 QualType LHSTy = Context.isPromotableBitField(LHS.get());
6966 if (LHSTy.isNull()) {
6967 LHSTy = LHS.get()->getType();
6968 if (LHSTy->isPromotableIntegerType())
6969 LHSTy = Context.getPromotedIntegerType(LHSTy);
6971 *CompLHSTy = LHSTy;
8235 QualType LHSTy(LHSType);
8236 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS);