From f28df4cdba9e82c15136ac4f2010ba50e9071141 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Fri, 17 Dec 2010 21:22:22 +0000 Subject: Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}. llvm-svn: 122087 --- clang/lib/Basic/FileSystemStatCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Basic/FileSystemStatCache.cpp') diff --git a/clang/lib/Basic/FileSystemStatCache.cpp b/clang/lib/Basic/FileSystemStatCache.cpp index d9e89cd8dfd..c8b07af295d 100644 --- a/clang/lib/Basic/FileSystemStatCache.cpp +++ b/clang/lib/Basic/FileSystemStatCache.cpp @@ -113,7 +113,7 @@ MemorizeStatCalls::getStat(const char *Path, struct stat &StatBuf, return Result; // Cache file 'stat' results and directories with absolutely paths. - if (!S_ISDIR(StatBuf.st_mode) || llvm::sys::Path(Path).isAbsolute()) + if (!S_ISDIR(StatBuf.st_mode) || llvm::sys::path::is_absolute(Path)) StatCalls[Path] = StatBuf; return Result; -- cgit v1.2.3