[Utility/StringLexer] Remove dead code.

Differential Revision:  https://reviews.llvm.org/D32148

llvm-svn: 300729
This commit is contained in:
Davide Italiano 2017-04-19 18:18:25 +00:00
parent c99e91c421
commit a5b9d3c11a
2 changed files with 0 additions and 6 deletions

View File

@ -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.

View File

@ -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);
}