aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-09-10 06:19:43 +0000
committerTed Kremenek <kremenek@apple.com>2012-09-10 06:19:43 +0000
commit7c06f036a3092a7e019979e1ca836a1fbe14edc7 (patch)
tree34a12925c00f92f6f3b9a68139433cc70a3a00de
parent9937216955886523f4ecc7ac50ea58f53b23d409 (diff)
downloadclang-7c06f036a3092a7e019979e1ca836a1fbe14edc7.tar.gz
Indent the "message" key in analyzer plist output.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163487 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/StaticAnalyzer/Core/PlistDiagnostics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp b/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
index 0a534bf7c0..7d9c2236f4 100644
--- a/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
+++ b/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
@@ -246,6 +246,7 @@ static void ReportEvent(raw_ostream &o, const PathDiagnosticPiece& P,
// Output the short text.
// FIXME: Really use a short string.
Indent(o, indent) << "<key>message</key>\n";
+ Indent(o, indent);
EmitString(o, P.getString()) << '\n';
// Finish up.