aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/HTMLDiagnostics.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-17 21:22:22 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-17 21:22:22 +0000
commit256053b31e697fdf0cc48f17d621c82fc3b8dff0 (patch)
treea045971178194699343a772ba4d43a7da868c067 /lib/Checker/HTMLDiagnostics.cpp
parent854fc56c95845660fccb1cb165fbf33fb9ae09a8 (diff)
Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122087 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 c6223695d8..b175fcaaeb 100644
--- a/lib/Checker/HTMLDiagnostics.cpp
+++ b/lib/Checker/HTMLDiagnostics.cpp
@@ -199,7 +199,7 @@ void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D,
std::string DirName = "";
- if (!llvm::sys::Path(Entry->getName()).isAbsolute()) {
+ if (llvm::sys::path::is_relative(Entry->getName())) {
llvm::sys::Path P = llvm::sys::Path::GetCurrentDirectory();
DirName = P.str() + "/";
}