forked from OSchip/llvm-project
f8f91b8976
This unifies the unix and windows versions of FileManager::UniqueDirContainer and FileManager::UniqueFileContainer by using UniqueID. We cannot just replace "struct stat" with llvm::sys::fs::file_status, since we want to be able to construct fake ones, and file_status has different members on unix and windows. What the patch does is: * Record only the information that clang is actually using. * Use llvm::sys::fs::status instead of stat and fstat. * Use llvm::sys::fs::UniqueID * Delete the old windows versions of UniqueDirContainer and UniqueFileContainer since the "unix" one now works on windows too. llvm-svn: 187619 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CharInfoTest.cpp | ||
FileManagerTest.cpp | ||
Makefile | ||
SourceManagerTest.cpp |