diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-17 21:22:22 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-17 21:22:22 +0000 |
commit | 256053b31e697fdf0cc48f17d621c82fc3b8dff0 (patch) | |
tree | a045971178194699343a772ba4d43a7da868c067 /lib/Basic/FileSystemStatCache.cpp | |
parent | 854fc56c95845660fccb1cb165fbf33fb9ae09a8 (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/Basic/FileSystemStatCache.cpp')
-rw-r--r-- | lib/Basic/FileSystemStatCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/FileSystemStatCache.cpp b/lib/Basic/FileSystemStatCache.cpp index d9e89cd8df..c8b07af295 100644 --- a/lib/Basic/FileSystemStatCache.cpp +++ b/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; |