Remove the public Lexer::getBufferEnd() function which breaks encapsulation

of the source buffer


Swift SVN r7084
This commit is contained in:
Dmitri Hrybenko
2013-08-09 18:10:29 +00:00
parent 41a463d9fa
commit 49e15b33e7
4 changed files with 4 additions and 13 deletions

View File

@@ -140,8 +140,6 @@ public:
return CodeCompletionPtr != nullptr;
}
const char *getBufferEnd() const { return BufferEnd; }
void lex(Token &Result) {
Result = NextToken;
if (Result.isNot(tok::eof))