llvm-mc: Implement .abort fully in the front end
[oota-llvm.git] / tools / llvm-mc / AsmParser.h
index 3d9842e642beccdf6bb219a4c9f09318803085ca..dd6033847b43a12efe4fe29593b09b80a4ead6cb 100644 (file)
@@ -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();