[lldb][NFC] Clarify that spaces can't be in breakpoint names

We already check for spaces but we don't mention it in the error message.
This commit is contained in:
Raphael Isemann 2020-07-05 10:54:58 +02:00
parent fc1d95eb7b
commit 779432690f
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ bool BreakpointID::StringIsBreakpointName(llvm::StringRef str, Status &error) {
// Cannot contain ., -, or space.
if (str.find_first_of(".- ") != llvm::StringRef::npos) {
error.SetErrorStringWithFormat("Breakpoint names cannot contain "
"'.' or '-': \"%s\"",
"'.' or '-' or spaces: \"%s\"",
str.str().c_str());
return false;
}