Author: davide Date: Wed Apr 19 13:18:25 2017 New Revision: 300729 URL: http://llvm.org/viewvc/llvm-project?rev=300729&view=rev Log: [Utility/StringLexer] Remove dead code.
Differential Revision: https://reviews.llvm.org/D32148 Modified: lldb/trunk/include/lldb/Utility/StringLexer.h lldb/trunk/source/Utility/StringLexer.cpp Modified: lldb/trunk/include/lldb/Utility/StringLexer.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Utility/StringLexer.h?rev=300729&r1=300728&r2=300729&view=diff ============================================================================== --- lldb/trunk/include/lldb/Utility/StringLexer.h (original) +++ lldb/trunk/include/lldb/Utility/StringLexer.h Wed Apr 19 13:18:25 2017 @@ -41,8 +41,6 @@ public: bool HasAtLeast(Size s); - bool HasAny(Character c); - std::string GetUnlexed(); // This will assert if there are less than s characters preceding the cursor. Modified: lldb/trunk/source/Utility/StringLexer.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Utility/StringLexer.cpp?rev=300729&r1=300728&r2=300729&view=diff ============================================================================== --- lldb/trunk/source/Utility/StringLexer.cpp (original) +++ lldb/trunk/source/Utility/StringLexer.cpp Wed Apr 19 13:18:25 2017 @@ -73,10 +73,6 @@ void StringLexer::PutBack(Size s) { 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); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits