[cfe-commits] r67269 - /cfe/trunk/lib/Frontend/PlistDiagnostics.cpp
Ted Kremenek
kremenek at apple.com
Wed Mar 18 17:42:56 PDT 2009
Author: kremenek
Date: Wed Mar 18 19:42:56 2009
New Revision: 67269
URL: http://llvm.org/viewvc/llvm-project?rev=67269&view=rev
Log:
Plist diagnostics: distinguish between regular and extended messages for "events".
Modified:
cfe/trunk/lib/Frontend/PlistDiagnostics.cpp
Modified: cfe/trunk/lib/Frontend/PlistDiagnostics.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/PlistDiagnostics.cpp?rev=67269&r1=67268&r2=67269&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/PlistDiagnostics.cpp (original)
+++ cfe/trunk/lib/Frontend/PlistDiagnostics.cpp Wed Mar 18 19:42:56 2009
@@ -151,6 +151,11 @@
// Output the text.
assert(!P.getString().empty());
+ Indent(o, indent) << "<key>extended_message</key>\n";
+ Indent(o, indent) << "<string>" << P.getString() << "</string>\n";
+
+ // Output the short text.
+ // FIXME: Really use a short string.
Indent(o, indent) << "<key>message</key>\n";
Indent(o, indent) << "<string>" << P.getString() << "</string>\n";
More information about the cfe-commits
mailing list