[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:
parent
fc1d95eb7b
commit
779432690f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue