Copy StringExtractor to StdStringExtractor.
I have some improvements to make to StringExtractor that require
using LLVM. debugserver can't take a dependency on LLVM but uses
this file, so I'm forking it off into StdStringExtractor and
StringExtractor, so that StringExtractor can take advantage of
some performance improvements and readability improvements that
LLVM can provide.
llvm-svn: 279997
diff --git a/lldb/tools/debugserver/source/JSON.h b/lldb/tools/debugserver/source/JSON.h
index d1723d8..e24f928 100644
--- a/lldb/tools/debugserver/source/JSON.h
+++ b/lldb/tools/debugserver/source/JSON.h
@@ -10,9 +10,9 @@
#ifndef utility_JSON_h_
#define utility_JSON_h_
-// This cross-project usage is fine as StringExtractor.h is entirely
+// This cross-project usage is fine as StdStringExtractor.h is entirely
// self-contained.
-#include "lldb/Utility/StringExtractor.h"
+#include "lldb/Utility/StdStringExtractor.h"
// C includes
#include <inttypes.h>
@@ -338,7 +338,7 @@
Vector m_elements;
};
-class JSONParser : public StringExtractor
+class JSONParser : public StdStringExtractor
{
public:
enum Token