summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-12-19 20:42:43 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-12-19 20:42:43 +0000
commit2402123413080aee8e9418e4f08b8613ef5cc360 (patch)
tree613d8ee7c19c9b6ab2f7d10687676375bdee2592 /lib/VMCore
parentda60588402e8913f5b7ec40945d4170d0c4ffaf5 (diff)
downloadllvm-2402123413080aee8e9418e4f08b8613ef5cc360.tar.gz
llvm-2402123413080aee8e9418e4f08b8613ef5cc360.tar.bz2
llvm-2402123413080aee8e9418e4f08b8613ef5cc360.tar.xz
Add missing std:: prefixes to some calls. C++ doesn't require that <cfoo>
headers provide symbols outside namespace std and the LLVM coding standards state that we should prefix all of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/LLVMContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/LLVMContext.cpp b/lib/VMCore/LLVMContext.cpp
index 0f51cf224d..c948320c20 100644
--- a/lib/VMCore/LLVMContext.cpp
+++ b/lib/VMCore/LLVMContext.cpp
@@ -110,12 +110,12 @@ static bool isValidName(StringRef MDName) {
if (MDName.empty())
return false;
- if (!isalpha(MDName[0]))
+ if (!std::isalpha(MDName[0]))
return false;
for (StringRef::iterator I = MDName.begin() + 1, E = MDName.end(); I != E;
++I) {
- if (!isalnum(*I) && *I != '_' && *I != '-' && *I != '.')
+ if (!std::isalnum(*I) && *I != '_' && *I != '-' && *I != '.')
return false;
}
return true;