summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/FileSystemStatCache.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
commitf28df4cdba9e82c15136ac4f2010ba50e9071141 (patch)
tree498574ea9b2896f4088b598d4aaf73e101c8824a /clang/lib/Basic/FileSystemStatCache.cpp
parent559e09e39de1cebf132c4d1d3c10763560e0c2e8 (diff)
downloadbcm5719-llvm-f28df4cdba9e82c15136ac4f2010ba50e9071141.tar.gz
bcm5719-llvm-f28df4cdba9e82c15136ac4f2010ba50e9071141.zip
Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}.
llvm-svn: 122087
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
-rw-r--r--clang/lib/Basic/FileSystemStatCache.cpp2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud