[Lldb-commits] [lldb] r144257 - /lldb/trunk/source/Interpreter/CommandInterpreter.cpp

Greg Clayton gclayton at apple.com
Wed Nov 9 17:30:05 PST 2011


Author: gclayton
Date: Wed Nov  9 19:30:05 2011
New Revision: 144257

URL: http://llvm.org/viewvc/llvm-project?rev=144257&view=rev
Log:
Removed debug printf statements.


Modified:
    lldb/trunk/source/Interpreter/CommandInterpreter.cpp

Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=144257&r1=144256&r2=144257&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Wed Nov  9 19:30:05 2011
@@ -901,7 +901,6 @@
 static size_t
 FindArgumentTerminator (const std::string &s)
 {
-    printf ("FindArgumentTerminator( s = '%s') => ", s.c_str());
     const size_t s_len = s.size();
     size_t offset = 0;
     while (offset < s_len)
@@ -917,14 +916,12 @@
                 // or if we have "\s--\s".
                 if ((pos + 2 >= s_len) || isspace(s[pos+2]))
                 {
-                    printf ("%zu\n", pos);
                     return pos;
                 }
             }
         }
         offset = pos + 2;
     }
-    printf ("-1\n");
     return std::string::npos;
 }
 





More information about the lldb-commits mailing list