From 61dc71ab04ffb38a2387057e70885f260a5b1e32 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 19 Mar 2009 00:42:56 +0000 Subject: [PATCH] Plist diagnostics: distinguish between regular and extended messages for "events". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67269 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/PlistDiagnostics.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Frontend/PlistDiagnostics.cpp b/lib/Frontend/PlistDiagnostics.cpp index 16c5c1019d..1adc99cb63 100644 --- a/lib/Frontend/PlistDiagnostics.cpp +++ b/lib/Frontend/PlistDiagnostics.cpp @@ -151,6 +151,11 @@ static void ReportEvent(llvm::raw_ostream& o, const PathDiagnosticPiece& P, // Output the text. assert(!P.getString().empty()); + Indent(o, indent) << "extended_message\n"; + Indent(o, indent) << "" << P.getString() << "\n"; + + // Output the short text. + // FIXME: Really use a short string. Indent(o, indent) << "message\n"; Indent(o, indent) << "" << P.getString() << "\n"; -- 2.50.1