summaryrefslogtreecommitdiff
path: root/lib/Target/TargetInstrInfo.cpp
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/Target/TargetInstrInfo.cpp
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/Target/TargetInstrInfo.cpp')
-rw-r--r--lib/Target/TargetInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetInstrInfo.cpp b/lib/Target/TargetInstrInfo.cpp
index eca97ab096..d4986d89dd 100644
--- a/lib/Target/TargetInstrInfo.cpp
+++ b/lib/Target/TargetInstrInfo.cpp
@@ -164,7 +164,7 @@ unsigned TargetInstrInfo::getInlineAsmLength(const char *Str,
for (; *Str; ++Str) {
if (*Str == '\n' || *Str == MAI.getSeparatorChar())
atInsnStart = true;
- if (atInsnStart && !isspace(*Str)) {
+ if (atInsnStart && !std::isspace(*Str)) {
Length += MAI.getMaxInstLength();
atInsnStart = false;
}