aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-21 21:22:11 +0000
committerChris Lattner <sabre@nondot.org>2009-06-21 21:22:11 +0000
commit14ee48a5bae352780b767a14bd97e8e91800a95b (patch)
tree5ff109bb82dfebe414bbd54f6a7cbe1a0e0e0f4c /utils/TableGen
parentb0789ed5a45a90ee7ff398fcdc1383b49ee88918 (diff)
downloadexternal_llvm-14ee48a5bae352780b767a14bd97e8e91800a95b.zip
external_llvm-14ee48a5bae352780b767a14bd97e8e91800a95b.tar.gz
external_llvm-14ee48a5bae352780b767a14bd97e8e91800a95b.tar.bz2
rename SourceMgr::PrintError to PrintMessage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/TGLexer.cpp4
-rw-r--r--utils/TableGen/TableGen.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/TGLexer.cpp b/utils/TableGen/TGLexer.cpp
index 976c123..6fe8d82 100644
--- a/utils/TableGen/TGLexer.cpp
+++ b/utils/TableGen/TGLexer.cpp
@@ -44,11 +44,11 @@ tgtok::TokKind TGLexer::ReturnError(const char *Loc, const std::string &Msg) {
void TGLexer::PrintError(const char *Loc, const std::string &Msg) const {
- SrcMgr.PrintError(SMLoc::getFromPointer(Loc), Msg);
+ SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), Msg);
}
void TGLexer::PrintError(SMLoc Loc, const std::string &Msg) const {
- SrcMgr.PrintError(Loc, Msg);
+ SrcMgr.PrintMessage(Loc, Msg);
}
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index cb83cf3..038cde2 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/utils/TableGen/TableGen.cpp
@@ -127,7 +127,7 @@ RecordKeeper llvm::Records;
static SourceMgr SrcMgr;
void llvm::PrintError(SMLoc ErrorLoc, const std::string &Msg) {
- SrcMgr.PrintError(ErrorLoc, Msg);
+ SrcMgr.PrintMessage(ErrorLoc, Msg);
}