Rename IdentifierInfo::isName to ::isStr.  Use a nifty trick
from Sebastian to enforce that a literal string is passed in,
and use this to avoid having to call strlen on it.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59706 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp
index 4469bab..c2e42d5 100644
--- a/lib/CodeGen/CGObjC.cpp
+++ b/lib/CodeGen/CGObjC.cpp
@@ -63,7 +63,7 @@
     // Very special case, super send in class method. The receiver is
     // self (the class object) and the send uses super semantics.
     if (!OID) {
-      assert(E->getClassName()->isName("super") &&
+      assert(E->getClassName()->isStr("super") &&
              "Unexpected missing class interface in message send.");
       isSuperMessage = true;
       Receiver = LoadObjCSelf();