davide created this revision.
https://reviews.llvm.org/D32148
Files:
include/lldb/Utility/StringLexer.h
source/Utility/StringLexer.cpp
Index: source/Utility/StringLexer.cpp
===================================================================
--- source/Utility/StringLexer.cpp
+++ source/Utility/StringLexer.cpp
@@ -73,10 +73,6 @@
m_position -= s;
}
-bool StringLexer::HasAny(Character c) {
- return m_data.find(c, m_position) != std::string::npos;
-}
-
std::string StringLexer::GetUnlexed() {
return std::string(m_data, m_position);
}
Index: include/lldb/Utility/StringLexer.h
===================================================================
--- include/lldb/Utility/StringLexer.h
+++ include/lldb/Utility/StringLexer.h
@@ -41,8 +41,6 @@
bool HasAtLeast(Size s);
- bool HasAny(Character c);
-
std::string GetUnlexed();
// This will assert if there are less than s characters preceding the cursor.
Index: source/Utility/StringLexer.cpp
===================================================================
--- source/Utility/StringLexer.cpp
+++ source/Utility/StringLexer.cpp
@@ -73,10 +73,6 @@
m_position -= s;
}
-bool StringLexer::HasAny(Character c) {
- return m_data.find(c, m_position) != std::string::npos;
-}
-
std::string StringLexer::GetUnlexed() {
return std::string(m_data, m_position);
}
Index: include/lldb/Utility/StringLexer.h
===================================================================
--- include/lldb/Utility/StringLexer.h
+++ include/lldb/Utility/StringLexer.h
@@ -41,8 +41,6 @@
bool HasAtLeast(Size s);
- bool HasAny(Character c);
-
std::string GetUnlexed();
// This will assert if there are less than s characters preceding the cursor.
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits