]> granicus.if.org Git - clang/commitdiff
For now, do not output the 'DisplayHint' in plist files.
authorTed Kremenek <kremenek@apple.com>
Mon, 2 Mar 2009 19:40:15 +0000 (19:40 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 2 Mar 2009 19:40:15 +0000 (19:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65861 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/PlistDiagnostics.cpp

index 4a87d5d7e5058bee5490dae1d33c75c396e1bf46..d9863448caa1740027ad17627f36279ee11400d9 100644 (file)
@@ -126,11 +126,14 @@ static void ReportDiag(llvm::raw_ostream& o, const PathDiagnosticPiece& P,
   Indent(o, indent) << "<string>" << P.getString() << "</string>\n";
   
   // Output the hint.
+#if 0
+  // Disable the display hint until we clear up its meaning.
   Indent(o, indent) << "<key>displayhint</key>\n";
   Indent(o, indent) << "<string>"
                     << (P.getDisplayHint() == PathDiagnosticPiece::Above 
                         ? "above" : "below")
                     << "</string>\n";
+#endif
   
   
   // Finish up.