[Bug 28041] New: Tab completion adds backslashes to function names, which causes them not to match

Bug ID 28041
Summary Tab completion adds backslashes to function names, which causes them not to match
Product lldb
Version 3.6
Hardware Macintosh
OS MacOS X
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter chris+llvm@qwirx.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

(lldb) b BackupStoreException::BackupStoreException<tab> results in:

(lldb) b BackupStoreException::BackupStoreException(unsigned\ int,\
std::__1::basic_string<char,\ std::__1::char_traits<char>,\
std::__1::allocator<char>\ >\ const&) <enter>
Breakpoint 1: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.

However, the function does exist:

(lldb) b BackupStoreException::BackupStoreException                            
                                                                         
Breakpoint 2: 2 locations.

I think that the inserted backslashes are the problem. If I remove them,
setting the breakpoint works:

(lldb) b BackupStoreException::BackupStoreException(unsigned int,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&)
Breakpoint 3: 2 locations.