]> granicus.if.org Git - clang/commitdiff
Indent the "message" key in analyzer plist output.
authorTed Kremenek <kremenek@apple.com>
Mon, 10 Sep 2012 06:19:43 +0000 (06:19 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 10 Sep 2012 06:19:43 +0000 (06:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163487 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/PlistDiagnostics.cpp

index 0a534bf7c0a689ce1f669061a05c0da6837ae406..7d9c2236f4c5e0bb14495661c35c5656355f273f 100644 (file)
@@ -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.