Fix boolean logic error in BreakpointID.
llvm-svn: 281804
This commit is contained in:
parent
4dc07becd0
commit
0ab39359de
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue