summaryrefslogtreecommitdiff
path: root/tools/llvm-mc/llvm-mc.cpp
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 /tools/llvm-mc/llvm-mc.cpp
parentb0789ed5a45a90ee7ff398fcdc1383b49ee88918 (diff)
downloadllvm-14ee48a5bae352780b767a14bd97e8e91800a95b.tar.gz
llvm-14ee48a5bae352780b767a14bd97e8e91800a95b.tar.bz2
llvm-14ee48a5bae352780b767a14bd97e8e91800a95b.tar.xz
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 'tools/llvm-mc/llvm-mc.cpp')
-rw-r--r--tools/llvm-mc/llvm-mc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp
index 0acd78ea41..7d0c571c72 100644
--- a/tools/llvm-mc/llvm-mc.cpp
+++ b/tools/llvm-mc/llvm-mc.cpp
@@ -77,7 +77,7 @@ static int AsLexInput(const char *ProgName) {
while (Tok != asmtok::Eof) {
switch (Tok) {
default:
- Lexer.PrintError(Lexer.getLoc(), "driver: unknown token");
+ Lexer.PrintMessage(Lexer.getLoc(), "driver: unknown token");
Error = true;
break;
case asmtok::Error: