summaryrefslogtreecommitdiff
path: root/include/llvm/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-31 08:07:44 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-31 08:07:44 +0000
commit6ce004dc76a8761a7e1a8830206ccaaf96736615 (patch)
tree160816131d2a57f4d714125cca27a87b467e8189 /include/llvm/MC
parent87392fde1f261fea161b48886fafbedddb18dcce (diff)
downloadllvm-6ce004dc76a8761a7e1a8830206ccaaf96736615.tar.gz
llvm-6ce004dc76a8761a7e1a8830206ccaaf96736615.tar.bz2
llvm-6ce004dc76a8761a7e1a8830206ccaaf96736615.tar.xz
llvm-mc: Add MCAsmParser::getContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC')
-rw-r--r--include/llvm/MC/MCAsmParser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/MC/MCAsmParser.h b/include/llvm/MC/MCAsmParser.h
index a6acf4e94d..e0a48f1e9c 100644
--- a/include/llvm/MC/MCAsmParser.h
+++ b/include/llvm/MC/MCAsmParser.h
@@ -14,6 +14,7 @@
namespace llvm {
class MCAsmLexer;
+class MCContext;
class MCValue;
class SMLoc;
class Twine;
@@ -31,6 +32,8 @@ public:
virtual MCAsmLexer &getLexer() = 0;
+ virtual MCContext &getContext() = 0;
+
/// Warning - Emit a warning at the location \arg L, with the message \arg
/// Msg.
virtual void Warning(SMLoc L, const Twine &Msg) = 0;