start implementing some simple operand parsing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73867 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-mc/AsmParser.h b/tools/llvm-mc/AsmParser.h
index 66e1a9b..54e3741 100644
--- a/tools/llvm-mc/AsmParser.h
+++ b/tools/llvm-mc/AsmParser.h
@@ -17,9 +17,10 @@
#include "AsmLexer.h"
namespace llvm {
-
+
class AsmParser {
AsmLexer Lexer;
+ struct X86Operand;
public:
AsmParser(SourceMgr &SM) : Lexer(SM) {}
@@ -32,6 +33,10 @@
bool Error(SMLoc L, const char *Msg);
bool TokError(const char *Msg);
+
+ void EatToEndOfStatement();
+
+ bool ParseX86Operand(X86Operand &Op);
};
} // end namespace llvm