This revision was automatically updated to reflect the committed changes.
Closed by commit rL300729: [Utility/StringLexer] Remove dead code. (authored by 
davide).

Changed prior to commit:
  https://reviews.llvm.org/D32148?vs=95519&id=95788#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D32148

Files:
  lldb/trunk/include/lldb/Utility/StringLexer.h
  lldb/trunk/source/Utility/StringLexer.cpp


Index: lldb/trunk/source/Utility/StringLexer.cpp
===================================================================
--- lldb/trunk/source/Utility/StringLexer.cpp
+++ lldb/trunk/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: lldb/trunk/include/lldb/Utility/StringLexer.h
===================================================================
--- lldb/trunk/include/lldb/Utility/StringLexer.h
+++ lldb/trunk/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: lldb/trunk/source/Utility/StringLexer.cpp
===================================================================
--- lldb/trunk/source/Utility/StringLexer.cpp
+++ lldb/trunk/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: lldb/trunk/include/lldb/Utility/StringLexer.h
===================================================================
--- lldb/trunk/include/lldb/Utility/StringLexer.h
+++ lldb/trunk/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
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to