mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
Fix thinko noticed by Chris.
llvm-svn: 84797
This commit is contained in:
parent
59fd73831e
commit
1af3b8ca4d
@ -262,7 +262,7 @@ bool MetadataContext::isValidName(const StringRef MDName) {
|
||||
if (MDName.empty())
|
||||
return false;
|
||||
|
||||
if (!isalpha(MDName[1]))
|
||||
if (!isalpha(MDName[0]))
|
||||
return false;
|
||||
|
||||
for (StringRef::iterator I = MDName.begin() + 1, E = MDName.end(); I != E;
|
||||
|
Loading…
Reference in New Issue
Block a user