diff options
| author | Sean Callanan <scallanan@apple.com> | 2010-01-19 20:27:46 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2010-01-19 20:27:46 +0000 |
| commit | a83fd7d52c94f006f7d778085e51ff0f01066c53 (patch) | |
| tree | 5737dcde346f2ad283b0167cfdc1d3827bdb9ce4 /llvm/include | |
| parent | 686ed8d2489c4ec25d4b20756cd70240a01bd345 (diff) | |
| download | bcm5719-llvm-a83fd7d52c94f006f7d778085e51ff0f01066c53.tar.gz bcm5719-llvm-a83fd7d52c94f006f7d778085e51ff0f01066c53.zip | |
Propagated the parser-side Lex function's declaration to
MCAsmParser, and changed the target-specific AsmParsers
to use it.
llvm-svn: 93900
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/MC/MCAsmParser.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/MC/MCAsmParser.h b/llvm/include/llvm/MC/MCAsmParser.h index f1ce323c155..73111cab457 100644 --- a/llvm/include/llvm/MC/MCAsmParser.h +++ b/llvm/include/llvm/MC/MCAsmParser.h @@ -13,6 +13,7 @@ #include "llvm/System/DataTypes.h" namespace llvm { +class AsmToken; class MCAsmLexer; class MCContext; class MCExpr; @@ -50,6 +51,10 @@ public: /// clients. virtual bool Error(SMLoc L, const Twine &Msg) = 0; + /// Lex - Get the next AsmToken in the stream, possibly handling file + /// inclusion first. + virtual const AsmToken &Lex() = 0; + /// ParseExpression - Parse an arbitrary expression. /// /// @param Res - The value of the expression. The result is undefined |

