diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-27 23:20:52 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-27 23:20:52 +0000 |
commit | f9507ffa5b1c8697009e86bbedaacb51e4c6735d (patch) | |
tree | b207aaebc34228cb61beaa84809ba1f6131666d4 /tools/llvm-mc/AsmParser.h | |
parent | 02efa786d40fabae6dbbb3de5ab057359701e337 (diff) |
llvm-mc: Implement .abort fully in the front end
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc/AsmParser.h')
-rw-r--r-- | tools/llvm-mc/AsmParser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/llvm-mc/AsmParser.h b/tools/llvm-mc/AsmParser.h index 3d9842e642..dd6033847b 100644 --- a/tools/llvm-mc/AsmParser.h +++ b/tools/llvm-mc/AsmParser.h @@ -25,6 +25,7 @@ class MCInst; class MCStreamer; class MCValue; class TargetAsmParser; +class Twine; class AsmParser : MCAsmParser { public: @@ -52,8 +53,8 @@ public: private: bool ParseStatement(); - void Warning(SMLoc L, const char *Msg); - bool Error(SMLoc L, const char *Msg); + void Warning(SMLoc L, const Twine &Msg); + bool Error(SMLoc L, const Twine &Msg); bool TokError(const char *Msg); void EatToEndOfStatement(); |