MC/AsmLexer: Raise LexUntilEndOfStatement to MCAsmLexer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108189 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2010-07-12 20:32:33 +00:00
parent 18f82a9a5d
commit 19ad3b88f7
2 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public:
void setBuffer(const MemoryBuffer *buf, const char *ptr = NULL);
StringRef LexUntilEndOfStatement();
virtual StringRef LexUntilEndOfStatement();
bool isAtStartOfComment(char Char);

View File

@ -143,6 +143,8 @@ public:
return CurTok = LexToken();
}
virtual StringRef LexUntilEndOfStatement() = 0;
/// getLoc - Get the current source location.
SMLoc getLoc() const;