diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-21 21:22:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-21 21:22:11 +0000 |
commit | 14ee48a5bae352780b767a14bd97e8e91800a95b (patch) | |
tree | 5ff109bb82dfebe414bbd54f6a7cbe1a0e0e0f4c /include/llvm/Support/SourceMgr.h | |
parent | b0789ed5a45a90ee7ff398fcdc1383b49ee88918 (diff) |
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 'include/llvm/Support/SourceMgr.h')
-rw-r--r-- | include/llvm/Support/SourceMgr.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Support/SourceMgr.h b/include/llvm/Support/SourceMgr.h index 53e7dd8dfb..25775cb744 100644 --- a/include/llvm/Support/SourceMgr.h +++ b/include/llvm/Support/SourceMgr.h @@ -107,10 +107,9 @@ public: /// specified file. This is not a fast method. unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const; - - /// PrintError - Emit an error message about the specified location with the + /// PrintMessage - Emit a message about the specified location with the /// specified string. - void PrintError(SMLoc ErrorLoc, const std::string &Msg) const; + void PrintMessage(SMLoc Loc, const std::string &Msg) const; private: void PrintIncludeStack(SMLoc IncludeLoc) const; |