[Utility/StringLexer] Remove dead code.
Differential Revision: https://reviews.llvm.org/D32148 llvm-svn: 300729
This commit is contained in:
parent
c99e91c421
commit
a5b9d3c11a
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue