From d44a35e87e405ae98902dc491ba70ed82f58f592 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Thu, 20 Apr 2017 21:21:28 +0000 Subject: Vendor import of lldb trunk r300890: https://llvm.org/svn/llvm-project/lldb/trunk@300890 --- source/Utility/StringLexer.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/Utility/StringLexer.cpp') diff --git a/source/Utility/StringLexer.cpp b/source/Utility/StringLexer.cpp index 77484d6e43fb..d5c7fc628988 100644 --- a/source/Utility/StringLexer.cpp +++ b/source/Utility/StringLexer.cpp @@ -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); } -- cgit v1.3