MC/AsmParser: Fix TokError() to accept a Twine.
[oota-llvm.git] / include / llvm / MC / MCParser / MCAsmParser.h
index c18bb39222c9ca5c097ff0237acfe662e85d4c75..414b9cc8932dcafd615dcc51a21d3bb8388faa74 100644 (file)
@@ -83,7 +83,7 @@ public:
   const AsmToken &getTok();
 
   /// \brief Report an error at the current lexer location.
-  bool TokError(const char *Msg);
+  bool TokError(const Twine &Msg);
 
   /// ParseIdentifier - Parse an identifier or string (as a quoted identifier)
   /// and set \arg Res to the identifier contents.