forked from OSchip/llvm-project
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:
parent
8d1c7dbdff
commit
4fb79b790f
|
@ -487,7 +487,7 @@ ClangASTSource::FindObjCMethodDecls (NameSearchContext &context)
|
||||||
}
|
}
|
||||||
else if (decl_name.isObjCOneArgSelector())
|
else if (decl_name.isObjCOneArgSelector())
|
||||||
{
|
{
|
||||||
ss.Printf("%s:", decl_name.getAsString().c_str());
|
ss.Printf("%s", decl_name.getAsString().c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue