Fixed Objective-C method lookup for methods with
a single argument. We assumed that the : was
omitted from the selector name, but actually Clang
adds the : in the one-argument case.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144544 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangASTSource.cpp b/source/Expression/ClangASTSource.cpp
index 80fa4c3..c62db70 100644
--- a/source/Expression/ClangASTSource.cpp
+++ b/source/Expression/ClangASTSource.cpp
@@ -487,7 +487,7 @@
}
else if (decl_name.isObjCOneArgSelector())
{
- ss.Printf("%s:", decl_name.getAsString().c_str());
+ ss.Printf("%s", decl_name.getAsString().c_str());
}
else
{