diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCAsmParser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCAsmParser.h b/include/llvm/MC/MCAsmParser.h index 8c1b7b8863..c1b5d133cd 100644 --- a/include/llvm/MC/MCAsmParser.h +++ b/include/llvm/MC/MCAsmParser.h @@ -16,6 +16,7 @@ namespace llvm { class MCAsmLexer; class MCContext; class MCExpr; +class MCStreamer; class MCValue; class SMLoc; class Twine; @@ -35,6 +36,9 @@ public: virtual MCContext &getContext() = 0; + /// getSteamer - Return the output streamer for the assembler. + virtual MCStreamer &getStreamer() = 0; + /// Warning - Emit a warning at the location \arg L, with the message \arg /// Msg. virtual void Warning(SMLoc L, const Twine &Msg) = 0; |