aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CheckObjCInstMethSignature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/CheckObjCInstMethSignature.cpp')
-rw-r--r--lib/Analysis/CheckObjCInstMethSignature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CheckObjCInstMethSignature.cpp b/lib/Analysis/CheckObjCInstMethSignature.cpp
index ffaef42b23..00dbe9f2b2 100644
--- a/lib/Analysis/CheckObjCInstMethSignature.cpp
+++ b/lib/Analysis/CheckObjCInstMethSignature.cpp
@@ -53,7 +53,7 @@ static void CompareReturnTypes(ObjCMethodDecl* MethDerived,
<< "', which is derived from class '"
<< MethAncestor->getClassInterface()->getName()
<< "', defines the instance method '"
- << MethDerived->getSelector().getName()
+ << MethDerived->getSelector().getAsString()
<< "' whose return type is '"
<< ResDerived.getAsString()
<< "'. A method with the same name (same selector) is also defined in "