aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-19 08:24:49 +0000
committerChris Lattner <sabre@nondot.org>2008-11-19 08:24:49 +0000
commit865732239acf5d2b75c7d34f4fa5c09ca2deb588 (patch)
tree0bd7d12ee262a8fae0c4e191cc3d9423d354081a /lib
parent3c73c41cefcfe76f36b7bed72c9f1ec195490951 (diff)
simplify
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/CGObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp
index 044368c699..963aac82bf 100644
--- a/lib/CodeGen/CGObjC.cpp
+++ b/lib/CodeGen/CGObjC.cpp
@@ -63,7 +63,7 @@ RValue CodeGenFunction::EmitObjCMessageExpr(const ObjCMessageExpr *E) {
// Very special case, super send in class method. The receiver is
// self (the class object) and the send uses super semantics.
if (!OID) {
- assert(!strcmp(E->getClassName()->getName(), "super") &&
+ assert(E->getClassName()->isName("super")) &&
"Unexpected missing class interface in message send.");
isSuperMessage = true;
Receiver = LoadObjCSelf();