OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d977a3
)
Fix thinko noticed by Chris.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 21 Oct 2009 23:29:32 +0000
(23:29 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 21 Oct 2009 23:29:32 +0000
(23:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84797
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Metadata.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Metadata.cpp
b/lib/VMCore/Metadata.cpp
index
92e4910
..
365fe8b
100644
(file)
--- a/
lib/VMCore/Metadata.cpp
+++ b/
lib/VMCore/Metadata.cpp
@@
-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;