[Lldb-commits] [lldb] r144544 - /lldb/trunk/source/Expression/ClangASTSource.cpp

Sean Callanan scallanan at apple.com
Mon Nov 14 10:29:47 PST 2011


Author: spyffe
Date: Mon Nov 14 12:29:46 2011
New Revision: 144544

URL: http://llvm.org/viewvc/llvm-project?rev=144544&view=rev
Log:
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.

Modified:
    lldb/trunk/source/Expression/ClangASTSource.cpp

Modified: lldb/trunk/source/Expression/ClangASTSource.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangASTSource.cpp?rev=144544&r1=144543&r2=144544&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangASTSource.cpp (original)
+++ lldb/trunk/source/Expression/ClangASTSource.cpp Mon Nov 14 12:29:46 2011
@@ -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
     {    





More information about the lldb-commits mailing list