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.

llvm-svn: 144544
This commit is contained in:
Sean Callanan 2011-11-14 18:29:46 +00:00
parent 8d1c7dbdff
commit 4fb79b790f
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ ClangASTSource::FindObjCMethodDecls (NameSearchContext &context)
}
else if (decl_name.isObjCOneArgSelector())
{
ss.Printf("%s:", decl_name.getAsString().c_str());
ss.Printf("%s", decl_name.getAsString().c_str());
}
else
{