Home | History | Annotate | Download | only in Sema

Lines Matching refs:LHSTy

3127   QualType LHSTy = LHSExp->getType(), RHSTy = RHSExp->getType();
3137 if (LHSTy->isDependentType() || RHSTy->isDependentType()) {
3141 } else if (const PointerType *PTy = LHSTy->getAs<PointerType>()) {
3146 LHSTy->getAs<ObjCObjectPointerType>()) {
3164 } else if (const VectorType *VTy = LHSTy->getAs<VectorType>()) {
3173 } else if (LHSTy->isArrayType()) {
3181 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy),
3183 LHSTy = LHSExp->getType();
3187 ResultType = LHSTy->getAs<PointerType>()->getPointeeType();
4557 QualType LHSTy = LHS.get()->getType();
4560 if (S.Context.hasSameType(LHSTy, RHSTy)) {
4562 return LHSTy;
4568 if (const BlockPointerType *LHSBTy = LHSTy->getAs<BlockPointerType>()) {
4572 lhptee = LHSTy
4599 << LHSTy << RHSTy << LHS.get()->getSourceRange()
4624 QualType LHSTy = LHS.get()->getType();
4627 if (!LHSTy->isBlockPointerType() || !RHSTy->isBlockPointerType()) {
4628 if (LHSTy->isVoidPointerType() || RHSTy->isVoidPointerType()) {
4635 << LHSTy << RHSTy << LHS.get()->getSourceRange()
4650 QualType LHSTy = LHS.get()->getType();
4654 QualType lhptee = LHSTy->getAs<PointerType>()->getPointeeType();
4737 QualType LHSTy = LHS.get()->getType();
4745 if (LHSTy->isVectorType() || RHSTy->isVectorType())
4757 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType()) {
4766 if (const RecordType *LHSRT = LHSTy->getAs<RecordType>()) { // C99 6.5.15p3
4771 return LHSTy.getUnqualifiedType();
4777 if (LHSTy->isVoidType() || RHSTy->isVoidType()) {
4783 if (!checkConditionalNullPointer(*this, RHS, LHSTy)) return LHSTy;
4796 if (LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType())
4801 if (LHSTy->isPointerType() && RHSTy->isPointerType())
4812 return LHSTy;
4822 << LHSTy << RHSTy << LHS.get()->getSourceRange()
4831 QualType LHSTy = LHS.get()->getType();
4837 if (LHSTy->isObjCClassType() &&
4839 RHS = ImpCastExprToType(RHS.take(), LHSTy, CK_CPointerToObjCPointerCast);
4840 return LHSTy;
4843 (Context.hasSameType(LHSTy, Context.getObjCClassRedefinitionType()))) {
4848 if (LHSTy->isObjCIdType() &&
4850 RHS = ImpCastExprToType(RHS.take(), LHSTy, CK_CPointerToObjCPointerCast);
4851 return LHSTy;
4854 (Context.hasSameType(LHSTy, Context.getObjCIdRedefinitionType()))) {
4859 if (Context.isObjCSelType(LHSTy) &&
4861 RHS = ImpCastExprToType(RHS.take(), LHSTy, CK_BitCast);
4862 return LHSTy;
4865 (Context.hasSameType(LHSTy, Context.getObjCSelRedefinitionType()))) {
4870 if (LHSTy->isObjCObjectPointerType() && RHSTy->isObjCObjectPointerType()) {
4872 if (Context.getCanonicalType(LHSTy) == Context.getCanonicalType(RHSTy)) {
4874 return LHSTy;
4876 const ObjCObjectPointerType *LHSOPT = LHSTy->castAs<ObjCObjectPointerType>();
4878 QualType compositeType = LHSTy;
4894 compositeType = RHSOPT->isObjCBuiltinType() ? RHSTy : LHSTy;
4896 compositeType = LHSOPT->isObjCBuiltinType() ? LHSTy : RHSTy;
4897 } else if ((LHSTy->isObjCQualifiedIdType() ||
4899 Context.ObjCQualifiedIdTypesAreCompatible(LHSTy, RHSTy, true)) {
4905 } else if (LHSTy->isObjCIdType() || RHSTy->isObjCIdType()) {
4912 << LHSTy << RHSTy
4925 if (LHSTy->isVoidPointerType() && RHSTy->isObjCObjectPointerType()) {
4929 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
4934 QualType lhptee = LHSTy->getAs<PointerType>()->getPointeeType();
4945 if (LHSTy->isObjCObjectPointerType() && RHSTy->isVoidPointerType()) {
4949 LHSTy << RHSTy
4954 QualType lhptee = LHSTy->getAs<ObjCObjectPointerType>()->getPointeeType();
6245 LHSTy = Context.isPromotableBitField(LHS.get());
6246 if (LHSTy.isNull()) {
6247 LHSTy = LHS.get()->getType();
6248 if (LHSTy->isPromotableIntegerType())
6249 LHSTy = Context.getPromotedIntegerType(LHSTy);
6251 *CompLHSTy = LHSTy;
7317 QualType LHSTy(LHSType);
7318 ConvTy = CheckSingleAssignmentConstraints(LHSTy, RHS);