diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-04-06 00:33:43 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-04-06 00:33:43 +0000 |
| commit | 383a382783f7f9f71a75db7ec67b3a9893df994d (patch) | |
| tree | e60e98e9856f8e35cc9dbfc4a7d451b3885c7425 /lib/Support | |
| parent | 4584b338c016e905379617795079c565f73a0cfb (diff) | |
| download | external_llvm-383a382783f7f9f71a75db7ec67b3a9893df994d.zip external_llvm-383a382783f7f9f71a75db7ec67b3a9893df994d.tar.gz external_llvm-383a382783f7f9f71a75db7ec67b3a9893df994d.tar.bz2 | |
give the SourceMgr object a cookie.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
| -rw-r--r-- | lib/Support/SourceMgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/SourceMgr.cpp b/lib/Support/SourceMgr.cpp index fe2fbd9..4e7520c 100644 --- a/lib/Support/SourceMgr.cpp +++ b/lib/Support/SourceMgr.cpp @@ -178,7 +178,8 @@ void SourceMgr::PrintMessage(SMLoc Loc, const std::string &Msg, const char *Type, bool ShowLine) const { // Report the message with the diagnostic handler if present. if (DiagHandler) { - DiagHandler(GetMessage(Loc, Msg, Type, ShowLine), DiagContext); + DiagHandler(GetMessage(Loc, Msg, Type, ShowLine), + DiagContext, DiagLocCookie); return; } |
