Fix boolean logic error in BreakpointID.

llvm-svn: 281804
This commit is contained in:
Zachary Turner 2016-09-17 02:34:40 +00:00
parent 4dc07becd0
commit 0ab39359de
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ bool BreakpointID::StringIsBreakpointName(llvm::StringRef str, Error &error) {
return false;
// First character must be a letter or _
if (!isalpha(str[0]) || str[0] != '_')
if (!isalpha(str[0]) && str[0] != '_')
return false;
// Cannot contain ., -, or space.