[cfe-commits] r56440 - /cfe/trunk/lib/Driver/HTMLDiagnostics.cpp
Ted Kremenek
kremenek at apple.com
Mon Sep 22 10:33:33 PDT 2008
Author: kremenek
Date: Mon Sep 22 12:33:32 2008
New Revision: 56440
URL: http://llvm.org/viewvc/llvm-project?rev=56440&view=rev
Log:
Output "REPORTHEADER" and "REPORTSUMMARYEXTRA" tags for use with scan-view.
Modified:
cfe/trunk/lib/Driver/HTMLDiagnostics.cpp
Modified: cfe/trunk/lib/Driver/HTMLDiagnostics.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/HTMLDiagnostics.cpp?rev=56440&r1=56439&r2=56440&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/HTMLDiagnostics.cpp (original)
+++ cfe/trunk/lib/Driver/HTMLDiagnostics.cpp Mon Sep 22 12:33:32 2008
@@ -223,7 +223,8 @@
std::string s;
llvm::raw_string_ostream os(s);
- os << "<h3>Bug Summary</h3>\n<table class=\"simpletable\">\n"
+ os << "<!-- REPORTHEADER -->\n"
+ << "<h3>Bug Summary</h3>\n<table class=\"simpletable\">\n"
"<tr><td class=\"rowname\">File:</td><td>"
<< html::EscapeText(DirName)
<< html::EscapeText(Entry->getName())
@@ -243,7 +244,8 @@
os << "<tr><td></td><td>" << html::EscapeText(*I) << "</td></tr>\n";
}
- os << "</table>\n<h3>Annotated Source Code</h3>\n";
+ os << "</table>\n<!-- REPORTSUMMARYEXTRA -->\n"
+ "<h3>Annotated Source Code</h3>\n";
R.InsertStrBefore(SourceLocation::getFileLoc(FileID, 0), os.str());
}
More information about the cfe-commits
mailing list