Removed debug printf statements.

llvm-svn: 144257
This commit is contained in:
Greg Clayton 2011-11-10 01:30:05 +00:00
parent 8ee6438235
commit dac5efa8c4
1 changed files with 0 additions and 3 deletions

View File

@ -901,7 +901,6 @@ StripLeadingSpaces (std::string &s)
static size_t static size_t
FindArgumentTerminator (const std::string &s) FindArgumentTerminator (const std::string &s)
{ {
printf ("FindArgumentTerminator( s = '%s') => ", s.c_str());
const size_t s_len = s.size(); const size_t s_len = s.size();
size_t offset = 0; size_t offset = 0;
while (offset < s_len) while (offset < s_len)
@ -917,14 +916,12 @@ FindArgumentTerminator (const std::string &s)
// or if we have "\s--\s". // or if we have "\s--\s".
if ((pos + 2 >= s_len) || isspace(s[pos+2])) if ((pos + 2 >= s_len) || isspace(s[pos+2]))
{ {
printf ("%zu\n", pos);
return pos; return pos;
} }
} }
} }
offset = pos + 2; offset = pos + 2;
} }
printf ("-1\n");
return std::string::npos; return std::string::npos;
} }