forked from OSchip/llvm-project
parent
f64ea095c1
commit
8b051b8240
|
@ -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