Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}.

llvm-svn: 122087
This commit is contained in:
Michael J. Spencer
2010-12-17 21:22:22 +00:00
parent 559e09e39d
commit f28df4cdba
8 changed files with 19 additions and 17 deletions

View File

@@ -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;