Fix a minor typo in the handling of the conditional operator for Objective-C interface pointers

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60096 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index a13bcba..b22ae7d 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -1644,7 +1644,7 @@
             Context.canAssignObjCInterfaces(LHSIface, RHSIface)) {
           compositeType = lexT;
         } else if (LHSIface && RHSIface &&
-                   Context.canAssignObjCInterfaces(LHSIface, RHSIface)) {
+                   Context.canAssignObjCInterfaces(RHSIface, LHSIface)) {
           compositeType = rexT;
         } else if (Context.isObjCIdType(lhptee) || 
                    Context.isObjCIdType(rhptee)) {