aboutsummaryrefslogtreecommitdiff
path: root/Driver/HTMLDiagnostics.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-07-07 18:31:05 +0000
committerTed Kremenek <kremenek@apple.com>2008-07-07 18:31:05 +0000
commitf6f593fae2f0531b4bc06891941f7fbba5217618 (patch)
tree707e58d08cb84b402f3a78830cb86f75942b9b2c /Driver/HTMLDiagnostics.cpp
parent88a96d6c3fe2b1b9d80b39c21cf7aca4aa9fcf08 (diff)
In a report-XXXXX.html, make the title include the name of the file with the bug. Patch by Jean-Daniel Dupas!
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-July/002166.html git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53184 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/HTMLDiagnostics.cpp')
-rw-r--r--Driver/HTMLDiagnostics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/HTMLDiagnostics.cpp b/Driver/HTMLDiagnostics.cpp
index 760ef25379..541e49b429 100644
--- a/Driver/HTMLDiagnostics.cpp
+++ b/Driver/HTMLDiagnostics.cpp
@@ -233,7 +233,7 @@ void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D) {
// Add CSS, header, and footer.
- html::AddHeaderFooterInternalBuiltinCSS(R, FileID);
+ html::AddHeaderFooterInternalBuiltinCSS(R, FileID, Entry->getName());
// Get the rewrite buffer.
const RewriteBuffer *Buf = R.getRewriteBufferFor(FileID);