[llvm-commits] [llvm] r108189 - in /llvm/trunk/include/llvm/MC/MCParser: AsmLexer.h MCAsmLexer.h
Daniel Dunbar
daniel at zuster.org
Mon Jul 12 13:32:33 PDT 2010
Author: ddunbar
Date: Mon Jul 12 15:32:33 2010
New Revision: 108189
URL: http://llvm.org/viewvc/llvm-project?rev=108189&view=rev
Log:
MC/AsmLexer: Raise LexUntilEndOfStatement to MCAsmLexer.
Modified:
llvm/trunk/include/llvm/MC/MCParser/AsmLexer.h
llvm/trunk/include/llvm/MC/MCParser/MCAsmLexer.h
Modified: llvm/trunk/include/llvm/MC/MCParser/AsmLexer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCParser/AsmLexer.h?rev=108189&r1=108188&r2=108189&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCParser/AsmLexer.h (original)
+++ llvm/trunk/include/llvm/MC/MCParser/AsmLexer.h Mon Jul 12 15:32:33 2010
@@ -46,7 +46,7 @@
void setBuffer(const MemoryBuffer *buf, const char *ptr = NULL);
- StringRef LexUntilEndOfStatement();
+ virtual StringRef LexUntilEndOfStatement();
bool isAtStartOfComment(char Char);
Modified: llvm/trunk/include/llvm/MC/MCParser/MCAsmLexer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCParser/MCAsmLexer.h?rev=108189&r1=108188&r2=108189&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCParser/MCAsmLexer.h (original)
+++ llvm/trunk/include/llvm/MC/MCParser/MCAsmLexer.h Mon Jul 12 15:32:33 2010
@@ -143,6 +143,8 @@
return CurTok = LexToken();
}
+ virtual StringRef LexUntilEndOfStatement() = 0;
+
/// getLoc - Get the current source location.
SMLoc getLoc() const;
More information about the llvm-commits
mailing list