[cfe-commits] r65861 - /cfe/trunk/lib/Frontend/PlistDiagnostics.cpp
Ted Kremenek
kremenek at apple.com
Mon Mar 2 11:40:15 PST 2009
Author: kremenek
Date: Mon Mar 2 13:40:15 2009
New Revision: 65861
URL: http://llvm.org/viewvc/llvm-project?rev=65861&view=rev
Log:
For now, do not output the 'DisplayHint' in plist files.
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=65861&r1=65860&r2=65861&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/PlistDiagnostics.cpp (original)
+++ cfe/trunk/lib/Frontend/PlistDiagnostics.cpp Mon Mar 2 13:40:15 2009
@@ -126,11 +126,14 @@
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.
More information about the cfe-commits
mailing list