ahatanak added inline comments.
================ Comment at: lib/Sema/SemaExpr.cpp:9431 + ? 2 + : 1)) { if (convertPointersToCompositeType(*this, Loc, LHS, RHS)) ---------------- It wasn't clear to me why the code has to be added to the right hand side of the >= operator. Is it equivalent to adding the following code, which I think is easier to understand? I'm assuming you are trying to avoid executing the statement when ObjCAutoRefCount is true and either LHSType or RHSType is an objc pointer type. ``` && (!LangOpts.ObjCAutoRefCount || (!LHSType->isObjCObjectPointerType() && !RHSType->isObjCObjectPointerType())) ``` Repository: rL LLVM https://reviews.llvm.org/D31177 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits