aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCAsmParser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/MC/MCAsmParser.h b/include/llvm/MC/MCAsmParser.h
index f1ce323..73111ca 100644
--- a/include/llvm/MC/MCAsmParser.h
+++ b/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