From d1e1703c39742f3c9fc3d27a442ff59bbdbfb5aa Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 27 Sep 2010 17:42:11 +0000 Subject: Push twines deeper into SourceMgr's error handling methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114847 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/TableGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/TableGen/TableGen.cpp') diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index 5e3e2829b8..d47897d7d8 100644 --- a/utils/TableGen/TableGen.cpp +++ b/utils/TableGen/TableGen.cpp @@ -174,7 +174,7 @@ RecordKeeper llvm::Records; static SourceMgr SrcMgr; -void llvm::PrintError(SMLoc ErrorLoc, const std::string &Msg) { +void llvm::PrintError(SMLoc ErrorLoc, const Twine &Msg) { SrcMgr.PrintMessage(ErrorLoc, Msg, "error"); } -- cgit v1.2.3-18-g5258