[llvm-commits] [llvm] r84797 - /llvm/trunk/lib/VMCore/Metadata.cpp
Benjamin Kramer
benny.kra at googlemail.com
Wed Oct 21 16:29:32 PDT 2009
Author: d0k
Date: Wed Oct 21 18:29:32 2009
New Revision: 84797
URL: http://llvm.org/viewvc/llvm-project?rev=84797&view=rev
Log:
Fix thinko noticed by Chris.
Modified:
llvm/trunk/lib/VMCore/Metadata.cpp
Modified: llvm/trunk/lib/VMCore/Metadata.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Metadata.cpp?rev=84797&r1=84796&r2=84797&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Metadata.cpp (original)
+++ llvm/trunk/lib/VMCore/Metadata.cpp Wed Oct 21 18:29:32 2009
@@ -262,7 +262,7 @@
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;
More information about the llvm-commits
mailing list