diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-03-19 00:42:56 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-03-19 00:42:56 +0000 |
commit | 61dc71ab04ffb38a2387057e70885f260a5b1e32 (patch) | |
tree | 1e68231fb9174b9b4ce4563b187d77b5279a401a /lib/Frontend/PlistDiagnostics.cpp | |
parent | e6258936178b4c52b43b3b9dbec13552961cd645 (diff) |
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
Diffstat (limited to 'lib/Frontend/PlistDiagnostics.cpp')
-rw-r--r-- | lib/Frontend/PlistDiagnostics.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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) << "<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"; |