aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-mc/AsmParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-mc/AsmParser.h')
-rw-r--r--tools/llvm-mc/AsmParser.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/llvm-mc/AsmParser.h b/tools/llvm-mc/AsmParser.h
index 66e1a9b42f..54e3741778 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 @@ private:
bool Error(SMLoc L, const char *Msg);
bool TokError(const char *Msg);
+
+ void EatToEndOfStatement();
+
+ bool ParseX86Operand(X86Operand &Op);
};
} // end namespace llvm