From: Ted Kremenek Date: Thu, 19 Mar 2009 00:42:56 +0000 (+0000) Subject: Plist diagnostics: distinguish between regular and extended messages for "events". X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61dc71ab04ffb38a2387057e70885f260a5b1e32;p=clang 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 --- 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";