From 778246ae47ad0c881b55fa7a3d142d77ec7a3ae5 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 22 Sep 2008 17:33:32 +0000 Subject: [PATCH] Output "REPORTHEADER" and "REPORTSUMMARYEXTRA" tags for use with scan-view. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56440 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/HTMLDiagnostics.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/Driver/HTMLDiagnostics.cpp b/lib/Driver/HTMLDiagnostics.cpp index c9739c4081..5a6987dbcb 100644 --- a/lib/Driver/HTMLDiagnostics.cpp +++ b/lib/Driver/HTMLDiagnostics.cpp @@ -223,7 +223,8 @@ void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D) { std::string s; llvm::raw_string_ostream os(s); - os << "

Bug Summary

\n\n" + os << "\n" + << "

Bug Summary

\n
\n" "\n"; } - os << "
File:" << html::EscapeText(DirName) << html::EscapeText(Entry->getName()) @@ -243,7 +244,8 @@ void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D) { os << "
" << html::EscapeText(*I) << "
\n

Annotated Source Code

\n"; + os << "\n\n" + "

Annotated Source Code

\n"; R.InsertStrBefore(SourceLocation::getFileLoc(FileID, 0), os.str()); } -- 2.50.1