Fixup recent "super" regression.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51913 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index 8b31d88..5108e09 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -99,7 +99,7 @@
                                  static_cast<Expr*>(SelfExpr.Val), true, true);
       }
     }
-    if (!strncmp(II.getName(), "super", 5)) {
+    if (SD == 0 && !strncmp(II.getName(), "super", 5)) {
       QualType T = Context.getPointerType(Context.getObjCInterfaceType(
                      CurMethodDecl->getClassInterface()));
       return new ObjCSuperRefExpr(T, Loc);