aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/HTMLDiagnostics.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-18 00:19:12 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-18 00:19:12 +0000
commit472ccff00cdbcd095c3ba933b9e3f202719f118f (patch)
treea2e0da6cafcc26882139c047fe98a16e752664ec /lib/Checker/HTMLDiagnostics.cpp
parentdf344dfb663f99184e734f5d14b5fc9b2725aec2 (diff)
Replace all uses of PathV1::getLast with PathV2::filename.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/HTMLDiagnostics.cpp')
-rw-r--r--lib/Checker/HTMLDiagnostics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/HTMLDiagnostics.cpp b/lib/Checker/HTMLDiagnostics.cpp
index b175fcaaeb..7fcb0256dd 100644
--- a/lib/Checker/HTMLDiagnostics.cpp
+++ b/lib/Checker/HTMLDiagnostics.cpp
@@ -300,7 +300,7 @@ void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D,
}
if (FilesMade)
- FilesMade->push_back(H.getLast());
+ FilesMade->push_back(llvm::sys::path::filename(H.str()));
// Emit the HTML to disk.
for (RewriteBuffer::iterator I = Buf->begin(), E = Buf->end(); I!=E; ++I)