diff options
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 8fd31d5dfc..3e13740cab 100644 --- a/lib/Basic/FileSystemStatCache.cpp +++ b/lib/Basic/FileSystemStatCache.cpp @@ -34,7 +34,7 @@ MemorizeStatCalls::getStat(const char *Path, struct stat &StatBuf) { // Cache file 'stat' results and directories with absolutely paths. if (!S_ISDIR(StatBuf.st_mode) || llvm::sys::Path(Path).isAbsolute()) - StatCalls[Path] = StatResult(Result, StatBuf); + StatCalls[Path] = StatBuf; return Result; } |